Added code-server recipe. Some aspects still aren't working correctly.

This commit is contained in:
David Ball 2024-06-03 16:41:52 +00:00
parent a997f089e3
commit 0a0e5e4b52
2 changed files with 10 additions and 2 deletions

View File

@ -11,6 +11,7 @@ ARG S6_OVERLAY_VERSION=3.1.6.2
# Environment settings # Environment settings
ARG DEBIAN_FRONTEND="noninteractive" ARG DEBIAN_FRONTEND="noninteractive"
ENV HOME="/config" ENV HOME="/config"
ENV TZ="${TZ-America/New_York}"
# Set environment variables # Set environment variables
ENV PUID=1000 ENV PUID=1000
@ -33,8 +34,15 @@ RUN \
net-tools \ net-tools \
curl wget \ curl wget \
netcat-traditional \ netcat-traditional \
sudo dpkg libicu74 equivs $APT_PACKAGES sudo dpkg libicu74 equivs tzdata $APT_PACKAGES
# Set timezone
RUN \
echo $TZ > /etc/timezone && \
ln -fs /usr/share/zoneinfo/$TZ /etc/localtime && \
dpkg-reconfigure --frontend noninteractive tzdata
# Build dummy package for Microsoft PowerShell
RUN equivs-control /tmp/libicu72 && \ RUN equivs-control /tmp/libicu72 && \
echo "Section: misc" > /tmp/libicu72 && \ echo "Section: misc" > /tmp/libicu72 && \
echo "Priority: optional" >> /tmp/libicu72 && \ echo "Priority: optional" >> /tmp/libicu72 && \

View File

@ -5,7 +5,7 @@ services:
# context: ../../ # context: ../../
dockerfile: ./code-server.Dockerfile dockerfile: ./code-server.Dockerfile
args: args:
APT_PACKAGES: "git-lfs git-filter-repo zsh fish" APT_PACKAGES: "git-lfs git-filter-repo zsh fish httrack"
INSTALL_CONTRIBUTOR_EXTENSIONS: "mhutchie.git-graph yzhang.markdown-all-in-one mechatroner.rainbow-csv" INSTALL_CONTRIBUTOR_EXTENSIONS: "mhutchie.git-graph yzhang.markdown-all-in-one mechatroner.rainbow-csv"
INSTALL_DEVELOPER_EXTENSIONS: "" INSTALL_DEVELOPER_EXTENSIONS: ""
container_name: code-server container_name: code-server