From e5535ae779ee97aedad2d280da075c998f1cf3c1 Mon Sep 17 00:00:00 2001 From: Sandeep Sangamreddi Date: Sun, 14 Apr 2024 12:31:01 +0530 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Dockerfile b/Dockerfile index 652ff2b..7e3a800 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,6 +62,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ARG RELEASE_ORG="gitpod-io" ARG OPENVSCODE_SERVER_ROOT="/home/.openvscode-server" +### Update and upgrade the base image ### +RUN upgrade-packages + +### Git ### +RUN add-apt-repository -y ppa:git-core/ppa +# https://github.com/git-lfs/git-lfs/blob/main/INSTALLING.md +RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash +RUN install-packages git git-lfs + # Downloading the latest VSC Server release and extracting the release archive # Rename `openvscode-server` cli tool to `code` for convenience RUN if [ -z "${RELEASE_TAG}" ]; then \ @@ -121,6 +130,9 @@ RUN mkdir -p /home/gleez/.ssh \ && mkdir -p /var/run/watchman/gleez-state \ && chown -R gleez:gleez /var/run/watchman/gleez-state +# configure git-lfs +RUN git lfs install --system --skip-repo + ### Gleez user (2) ### USER gleez # use sudo so that user does not get sudo usage info on (the first) login