Skip to content

Commit

Permalink
export /root as volume so vscode config persists
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaundry committed Jan 21, 2025
1 parent fd60ca7 commit c2b1f6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions freebsd/etc/containers/vscode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ FROM ubuntu:latest
# fix for error "E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Start. Current value: 25165824. (man 5 apt.conf)"
RUN echo 'APT::Cache-Start "100000000";' >> /etc/apt/apt.conf.d/70debconf

ARG VSCODE_VERSION

RUN apt update && \
apt install curl git -y && \
apt clean all && \
Expand All @@ -12,5 +14,6 @@ RUN apt update && \
mkdir /src

VOLUME /src
VOLUME /root

CMD [ "code", "tunnel", "--accept-server-license-terms", "--no-sleep" ]

0 comments on commit c2b1f6d

Please sign in to comment.