forked from nm3clol/nm3clol-docker
Added code-server recipe. Some aspects still aren't working correctly.
This commit is contained in:
parent
a997f089e3
commit
0a0e5e4b52
|
@ -11,6 +11,7 @@ ARG S6_OVERLAY_VERSION=3.1.6.2
|
|||
# Environment settings
|
||||
ARG DEBIAN_FRONTEND="noninteractive"
|
||||
ENV HOME="/config"
|
||||
ENV TZ="${TZ-America/New_York}"
|
||||
|
||||
# Set environment variables
|
||||
ENV PUID=1000
|
||||
|
@ -33,8 +34,15 @@ RUN \
|
|||
net-tools \
|
||||
curl wget \
|
||||
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 && \
|
||||
echo "Section: misc" > /tmp/libicu72 && \
|
||||
echo "Priority: optional" >> /tmp/libicu72 && \
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
# context: ../../
|
||||
dockerfile: ./code-server.Dockerfile
|
||||
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_DEVELOPER_EXTENSIONS: ""
|
||||
container_name: code-server
|
||||
|
|
Loading…
Reference in New Issue
Block a user