mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2025-04-16 22:59:30 +02:00
add custom config
This commit is contained in:
parent
a87b1ef82d
commit
96bb256ba3
21
Dockerfile
21
Dockerfile
@ -25,8 +25,11 @@ RUN \
|
|||||||
git \
|
git \
|
||||||
jq \
|
jq \
|
||||||
libatomic1 \
|
libatomic1 \
|
||||||
nano \
|
vim \
|
||||||
|
wget \
|
||||||
|
curl \
|
||||||
net-tools \
|
net-tools \
|
||||||
|
unzip \
|
||||||
sudo && \
|
sudo && \
|
||||||
echo "**** install code-server ****" && \
|
echo "**** install code-server ****" && \
|
||||||
if [ -z ${CODE_RELEASE+x} ]; then \
|
if [ -z ${CODE_RELEASE+x} ]; then \
|
||||||
@ -56,8 +59,22 @@ RUN \
|
|||||||
/var/tmp/* \
|
/var/tmp/* \
|
||||||
/etc/apt/sources.list.d/nodesource.list
|
/etc/apt/sources.list.d/nodesource.list
|
||||||
|
|
||||||
|
ENV TERRAFORM_VERSION=1.2.2
|
||||||
|
|
||||||
|
RUN wget https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
|
||||||
|
unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /usr/bin
|
||||||
|
|
||||||
|
RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" && \
|
||||||
|
chmod +x kubectl && \
|
||||||
|
mv kubectl /usr/bin/kubectl
|
||||||
|
|
||||||
|
RUN wget https://get.helm.sh/helm-v3.9.0-linux-amd64.tar.gz && \
|
||||||
|
tar -zxvf helm-v3.9.0-linux-amd64.tar.gz && \
|
||||||
|
mv linux-amd64/helm /usr/bin/helm
|
||||||
|
|
||||||
|
|
||||||
# add local files
|
# add local files
|
||||||
COPY /root /
|
COPY /root /
|
||||||
|
|
||||||
# ports and volumes
|
# ports and volumes
|
||||||
EXPOSE 8443
|
EXPOSE 32773
|
||||||
|
@ -16,7 +16,7 @@ fi
|
|||||||
exec \
|
exec \
|
||||||
s6-setuidgid abc \
|
s6-setuidgid abc \
|
||||||
/app/code-server/bin/code-server \
|
/app/code-server/bin/code-server \
|
||||||
--bind-addr 0.0.0.0:8443 \
|
--bind-addr 0.0.0.0:32773 \
|
||||||
--user-data-dir /config/data \
|
--user-data-dir /config/data \
|
||||||
--extensions-dir /config/extensions \
|
--extensions-dir /config/extensions \
|
||||||
--disable-telemetry \
|
--disable-telemetry \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user