File tree Expand file tree Collapse file tree 9 files changed +60
-389
lines changed Expand file tree Collapse file tree 9 files changed +60
-389
lines changed Original file line number Diff line number Diff line change 1
- FROM lsiobase/ubuntu:bionic
1
+ FROM scratch
2
2
3
3
# set version label
4
4
ARG BUILD_DATE
5
5
ARG VERSION
6
- ARG CODE_RELEASE
7
6
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
8
7
LABEL maintainer="aptalca"
9
8
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
-
40
9
# add local files
41
10
COPY /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
229
229
230
230
## Versions
231
231
232
+ * ** 28.01.20:** - Release python2-mod.
232
233
* ** 17.01.20:** - Fix artifact url retrieval from github.
233
234
* ** 24.10.19:** - Upgrade to v2 builds.
234
235
* ** 28.09.19:** - Update project logo.
Original file line number Diff line number Diff line change 2
2
3
3
# jenkins variables
4
4
project_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
9
10
repo_vars :
10
- - EXT_GIT_BRANCH = 'master'
11
- - EXT_USER = 'cdr'
12
- - EXT_REPO = 'code-server'
13
11
- CONTAINER_NAME = 'code-server'
14
12
- BUILD_VERSION_ARG = 'CODE_RELEASE'
15
13
- LS_USER = 'linuxserver'
@@ -19,11 +17,4 @@ repo_vars:
19
17
- PR_DOCKERHUB_IMAGE = 'lspipepr/code-server'
20
18
- DIST_IMAGE = 'ubuntu'
21
19
- 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: |
65
65
66
66
# changelog
67
67
changelogs :
68
+ - { date: "28.01.20:", desc: "Release python2-mod." }
68
69
- { date: "17.01.20:", desc: "Fix artifact url retrieval from github." }
69
70
- { date: "24.10.19:", desc: "Upgrade to v2 builds." }
70
71
- { 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