File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM lsiobase/ubuntu:bionic
1+ FROM scratch
22
33# set version label
44ARG BUILD_DATE
55ARG VERSION
6- ARG CODE_RELEASE
76LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
87LABEL maintainer="aptalca"
98
10- # environment settings
11- ENV HOME="/config"
12-
13- RUN \
14- apt-get update && \
15- apt-get install -y \
16- git \
17- jq \
18- nano \
19- net-tools \
20- sudo && \
21- echo "**** install code-server ****" && \
22- if [ -z ${CODE_RELEASE+x} ]; then \
23- CODE_RELEASE=$(curl -sX GET "https://api.github.com/repos/cdr/code-server/releases/latest" \
24- | awk '/tag_name/{print $4;exit}' FS='[""]' ); \
25- fi && \
26- CODE_URL=$(curl -sX GET "https://api.github.com/repos/cdr/code-server/releases/tags/${CODE_RELEASE}" \
27- | jq -r '.assets[] | select(.browser_download_url | contains("linux-x86_64")) | .browser_download_url' ) && \
28- curl -o \
29- /tmp/code.tar.gz -L \
30- "${CODE_URL}" && \
31- tar xzf /tmp/code.tar.gz -C \
32- /usr/bin/ --strip-components=1 \
33- --wildcards code-server*/code-server && \
34- echo "**** clean up ****" && \
35- rm -rf \
36- /tmp/* \
37- /var/lib/apt/lists/* \
38- /var/tmp/*
39-
409# add local files
4110COPY /root /
42-
43- # ports and volumes
44- EXPOSE 8443
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
229229
230230## Versions
231231
232+ * ** 28.01.20:** - Release python2-mod.
232233* ** 17.01.20:** - Fix artifact url retrieval from github.
233234* ** 24.10.19:** - Upgrade to v2 builds.
234235* ** 28.09.19:** - Update project logo.
Original file line number Diff line number Diff line change 22
33# jenkins variables
44project_name : docker-code-server
5- external_type : github_stable
6- release_type : stable
7- release_tag : latest
8- ls_branch : master
5+ external_type : os
6+ release_type : prerelease
7+ release_tag : mod-python2
8+ ls_branch : mod-python2
9+ skip_package_check : true
910repo_vars :
10- - EXT_GIT_BRANCH = 'master'
11- - EXT_USER = 'cdr'
12- - EXT_REPO = 'code-server'
1311 - CONTAINER_NAME = 'code-server'
1412 - BUILD_VERSION_ARG = 'CODE_RELEASE'
1513 - LS_USER = 'linuxserver'
@@ -19,11 +17,4 @@ repo_vars:
1917 - PR_DOCKERHUB_IMAGE = 'lspipepr/code-server'
2018 - DIST_IMAGE = 'ubuntu'
2119 - MULTIARCH='false'
22- - CI='true'
23- - CI_WEB='true'
24- - CI_PORT='8443'
25- - CI_SSL='false'
26- - CI_DELAY='120'
27- - CI_DOCKERENV='TZ=US/Pacific'
28- - CI_AUTH='user:password'
29- - CI_WEBPATH=''
20+ - CI='false'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ app_setup_block: |
6565
6666# changelog
6767changelogs :
68+ - { date: "28.01.20:", desc: "Release python2-mod." }
6869 - { date: "17.01.20:", desc: "Fix artifact url retrieval from github." }
6970 - { date: "24.10.19:", desc: "Upgrade to v2 builds." }
7071 - { date: "28.09.19:", desc: "Update project logo." }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #!/usr/bin/with-contenv bash
2+
3+ apt update && apt install -y \
4+ python \
5+ python-pip
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments