Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepone authored Apr 14, 2024
1 parent 2e44fb4 commit e5535ae
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e5535ae

Please sign in to comment.