From a142dc4b115666d5cf05da731dd2dd82fc35fcb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20R=C3=A9mond?= Date: Wed, 12 May 2021 11:17:26 +0200 Subject: [PATCH] Remove set up already set in prebuilt image --- .devcontainer/Dockerfile | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 9895af51c..68c868a82 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,42 +1,3 @@ # Update the VARIANT arg to pick an Elixir version: latest, 1.11.4, etc. ARG VARIANT=latest FROM docker.pkg.github.com/processone/docker-build/elixir:${VARIANT} - -# This Dockerfile adds a non-root user with sudo access. Update the “remoteUser” property in -# devcontainer.json to use it. More info: https://aka.ms/vscode-remote/containers/non-root-user. -ARG USERNAME=vscode -ARG USER_UID=1000 -ARG USER_GID=$USER_UID - -# Options for common package install script -ARG INSTALL_ZSH="true" -ARG UPGRADE_PACKAGES="true" -ARG COMMON_SCRIPT_SOURCE="https://raw.githubusercontent.com/microsoft/vscode-dev-containers/master/script-library/common-debian.sh" -ARG COMMON_SCRIPT_SHA="dev-mode" - -# Install needed packages and setup non-root user. Use a separate RUN statement to add your own dependencies. -RUN apt-get update \ - && export DEBIAN_FRONTEND=noninteractive \ - && apt-get -y install --no-install-recommends curl ca-certificates 2>&1 \ - && curl -sSL ${COMMON_SCRIPT_SOURCE} -o /tmp/common-setup.sh \ - && ([ "${COMMON_SCRIPT_SHA}" = "dev-mode" ] || (echo "${COMMON_SCRIPT_SHA} */tmp/common-setup.sh" | sha256sum -c -)) \ - && /bin/bash /tmp/common-setup.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" \ - # - # Install dependencies - && apt-get install -y build-essential \ - # - # Clean up - && apt-get autoremove -y \ - && apt-get clean -y - -#RUN su ${USERNAME} -c "mix local.hex --force \ -# && mix local.rebar --force \ -# && mix archive.install --force hex phx_new ${PHOENIX_VERSION}" - -# [Optional] Uncomment this section to install additional OS packages. -# RUN apt-get update \ -# && export DEBIAN_FRONTEND=noninteractive \ -# && apt-get -y install --no-install-recommends - -# [Optional] Uncomment this line to install additional package. -# RUN mix ...