Skip to content

Commit

Permalink
Use pinned dependencies in devcontainer Dockerfile (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnboyes committed Aug 12, 2020
1 parent 3eb8213 commit 27508c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ FROM mcr.microsoft.com/vscode/devcontainers/base:${VARIANT}
ARG GIT_EDITOR_SCRIPT_SOURCE="https://raw.githubusercontent.com/microsoft/vscode-dev-containers/master/containers/codespaces-linux/.devcontainer/git-ed.sh"
ARG SHELLCHECK_VERSION="v0.7.1"
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=DL3008
RUN apt-get update \
&& export DEBIAN_FRONTEND=noninteractive \
# Install xz-utils to extract tarballs
&& apt-get -y install --no-install-recommends xz-utils \
&& apt-get -y install --no-install-recommends xz-utils=5.2.4-1 \
# Install shellcheck (apt-get doesn't install the latest version needed by VS code, so installing from GitHub release, see:
# https://askubuntu.com/a/1228181)
&& mkdir -p /tmp/shellcheck \
Expand Down

0 comments on commit 27508c5

Please sign in to comment.