Commit af1742de authored by april's avatar april
Browse files

Update to v3.7.3

parent 018018fb
Pipeline #892 passed with stage
in 1 minute and 50 seconds
FROM ubuntu:20.04
ENV TZ=Asia/Seoul
ENV code_version=3.7.2
ENV code_version=3.7.3
ENV uname=user
ENV uid=1000
ENV password=password
......@@ -16,9 +16,6 @@ RUN sed -i 's/archive.ubuntu.com/mirror.kakao.com/g' /etc/apt/sources.list; \
tar xfzp code-server-${code_version}-linux-amd64.tar.gz; \
rm code-server-${code_version}-linux-amd64.tar.gz; \
mv code-server-${code_version}-linux-amd64 /app; \
chmod 700 /usr/bin/entrypoint.sh /usr/bin/init.sh; \
mkdir /workspace
chmod 700 /usr/bin/entrypoint.sh /usr/bin/init.sh
WORKDIR /workspace
CMD entrypoint.sh
version: '3.4'
services:
code:
image: registry.cpn.so:5005/april/code-server-docker
environment:
password: 'password'
ports:
- "8080:8080"
volumes:
- ./settings:/settings
- ./workspace:/workspace
if [ ! -d "/workspace/code" ]; then
mkdir /workspace/code
if [ ! -d "/settings" ]; then
mkdir /settings
fi
if [ ! -d "/workspace/code/.config" ]; then
mkdir /workspace/code/.config
if [ ! -d "/settings/config" ]; then
mkdir /settings/.config
fi
if [ ! -d "/workspace/code/user-dir" ]; then
mkdir /workspace/code/user-dir
if [ ! -d "/settings/user-dir" ]; then
mkdir /settings/user-dir
fi
if [ ! -d "/workspace/code/extensions-dir" ]; then
mkdir /workspace/code/extensions-dir
if [ ! -d "/settings/extensions-dir" ]; then
mkdir /settings/extensions-dir
fi
config="/workspace/code/.config/config.yaml"
config="/settings/config/config.yaml"
if [ ! -f ${config} ]; then
touch ${config}
echo "bind-addr: 0.0.0.0:8080" >> ${config}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment