SERVER-125979: Fix issue with fetching apt sources in devcontainer (#53144)
GitOrigin-RevId: ad7b60259cc741983f8aa7f108e9a2338efe861c
This commit is contained in:
parent
8010c36590
commit
031e6337eb
@ -1,5 +1,5 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
ARG BASE_IMAGE=quay.io/mongodb/bazel-remote-execution:ubuntu24-2025_09_05-17_18_29
|
ARG BASE_IMAGE=quay.io/mongodb/bazel-remote-execution:ubuntu24-2026_03_26-16_42_59
|
||||||
FROM $BASE_IMAGE
|
FROM $BASE_IMAGE
|
||||||
ARG BASE_IMAGE
|
ARG BASE_IMAGE
|
||||||
|
|
||||||
@ -10,21 +10,22 @@ ARG USER_GID=$USER_UID
|
|||||||
# Create the user
|
# Create the user
|
||||||
RUN groupadd $USERNAME && useradd -s /bin/bash --gid $USER_GID -m $USERNAME
|
RUN groupadd $USERNAME && useradd -s /bin/bash --gid $USER_GID -m $USERNAME
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update \
|
||||||
sudo \
|
&& apt-get install -y \
|
||||||
curl \
|
sudo \
|
||||||
ca-certificates \
|
curl \
|
||||||
xdg-utils \
|
ca-certificates \
|
||||||
wget \
|
xdg-utils \
|
||||||
less \
|
wget \
|
||||||
jq \
|
less \
|
||||||
vim-tiny \
|
jq \
|
||||||
procps \
|
vim-tiny \
|
||||||
lsof \
|
procps \
|
||||||
zip \
|
lsof \
|
||||||
unzip \
|
zip \
|
||||||
openssh-client \
|
unzip \
|
||||||
git \
|
openssh-client \
|
||||||
|
git \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install xdg-open wrapper for browser integration
|
# Install xdg-open wrapper for browser integration
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user