Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not pin devcontainer linux dependencies anymore #348

Merged
merged 1 commit into from
Feb 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ ARG USER_UID=1000
ARG USER_GID=$USER_UID

# Configure apt, install packages and tools
# hadolint ignore=DL3003,DL4006
# hadolint ignore=DL3003,DL3008,DL4006
RUN apt-get update \
&& export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends apt-utils=1.8.2.3 dialog=1.3-20190211-1 2>&1 \
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
# Need zip and unzip for the Hoverfly installation
&& apt-get -y install --no-install-recommends zip=3.0-11+b1 unzip=6.0-23+deb10u2 \
&& apt-get -y install --no-install-recommends zip unzip \
#
# Verify git, process tools, lsb-release (common in install instructions for CLIs) installed
&& apt-get -y install --no-install-recommends \
git=1:2.20.1-2+deb10u3 \
openssh-client=1:7.9p1-10+deb10u2 \
less=487-0.1+b1 \
iproute2=4.20.0-2+deb10u1 \
procps=2:3.3.15-2 \
lsb-release=10.2019051400 \
git \
openssh-client \
less \
iproute2 \
procps \
lsb-release \
# Build Go tools
&& mkdir -p /tmp/gotools \
&& cd /tmp/gotools \
Expand All @@ -46,7 +46,7 @@ RUN apt-get update \
&& groupadd --gid $USER_GID $USERNAME \
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
# [Optional] Add sudo support
&& apt-get install -y --no-install-recommends sudo=1.8.27-1+deb10u3 \
&& apt-get install -y --no-install-recommends sudo \
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME \
#
Expand Down