Skip to content

Commit 6a7313b

Browse files
authored
Merge branch 'master' into feature/directory-override
2 parents 4209430 + 992c04e commit 6a7313b

File tree

7 files changed

+216
-198
lines changed

7 files changed

+216
-198
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-ubuntu:bionic
1+
FROM ghcr.io/linuxserver/baseimage-ubuntu:focal
22

33
# set version label
44
ARG BUILD_DATE
@@ -16,7 +16,7 @@ RUN \
1616
apt-get install -y \
1717
gnupg && \
1818
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
19-
echo 'deb https://deb.nodesource.com/node_14.x bionic main' \
19+
echo 'deb https://deb.nodesource.com/node_14.x focal main' \
2020
> /etc/apt/sources.list.d/nodesource.list && \
2121
curl -s https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
2222
echo 'deb https://dl.yarnpkg.com/debian/ stable main' \
@@ -27,8 +27,8 @@ RUN \
2727
build-essential \
2828
libx11-dev \
2929
libxkbfile-dev \
30-
libsecret-1-dev \
31-
pkg-config && \
30+
pkg-config \
31+
python3 && \
3232
echo "**** install runtime dependencies ****" && \
3333
apt-get install -y \
3434
git \
@@ -44,6 +44,7 @@ RUN \
4444
| jq -r '."dist-tags".latest' | sed 's|^|v|'); \
4545
fi && \
4646
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }') && \
47+
npm config set python python3 && \
4748
yarn config set network-timeout 600000 -g && \
4849
yarn --production --verbose --frozen-lockfile global add code-server@"$CODE_VERSION" && \
4950
yarn cache clean && \
@@ -56,6 +57,7 @@ RUN \
5657
pkg-config && \
5758
apt-get clean && \
5859
rm -rf \
60+
/config/* \
5961
/tmp/* \
6062
/var/lib/apt/lists/* \
6163
/var/tmp/*

Dockerfile.aarch64

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-bionic
1+
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-focal
22

33
# set version label
44
ARG BUILD_DATE
@@ -16,7 +16,7 @@ RUN \
1616
apt-get install -y \
1717
gnupg && \
1818
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
19-
echo 'deb https://deb.nodesource.com/node_14.x bionic main' \
19+
echo 'deb https://deb.nodesource.com/node_14.x focal main' \
2020
> /etc/apt/sources.list.d/nodesource.list && \
2121
curl -s https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
2222
echo 'deb https://dl.yarnpkg.com/debian/ stable main' \
@@ -27,8 +27,8 @@ RUN \
2727
build-essential \
2828
libx11-dev \
2929
libxkbfile-dev \
30-
libsecret-1-dev \
31-
pkg-config && \
30+
pkg-config \
31+
python3 && \
3232
echo "**** install runtime dependencies ****" && \
3333
apt-get install -y \
3434
git \
@@ -44,6 +44,7 @@ RUN \
4444
| jq -r '."dist-tags".latest' | sed 's|^|v|'); \
4545
fi && \
4646
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }') && \
47+
npm config set python python3 && \
4748
yarn config set network-timeout 600000 -g && \
4849
yarn --production --verbose --frozen-lockfile global add code-server@"$CODE_VERSION" && \
4950
yarn cache clean && \
@@ -56,6 +57,7 @@ RUN \
5657
pkg-config && \
5758
apt-get clean && \
5859
rm -rf \
60+
/config/* \
5961
/tmp/* \
6062
/var/lib/apt/lists/* \
6163
/var/tmp/*

Dockerfile.armhf

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-bionic
1+
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-focal
22

33
# set version label
44
ARG BUILD_DATE
@@ -16,7 +16,7 @@ RUN \
1616
apt-get install -y \
1717
gnupg && \
1818
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
19-
echo 'deb https://deb.nodesource.com/node_14.x bionic main' \
19+
echo 'deb https://deb.nodesource.com/node_14.x focal main' \
2020
> /etc/apt/sources.list.d/nodesource.list && \
2121
curl -s https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
2222
echo 'deb https://dl.yarnpkg.com/debian/ stable main' \
@@ -27,8 +27,8 @@ RUN \
2727
build-essential \
2828
libx11-dev \
2929
libxkbfile-dev \
30-
libsecret-1-dev \
31-
pkg-config && \
30+
pkg-config \
31+
python3 && \
3232
echo "**** install runtime dependencies ****" && \
3333
apt-get install -y \
3434
git \
@@ -44,6 +44,7 @@ RUN \
4444
| jq -r '."dist-tags".latest' | sed 's|^|v|'); \
4545
fi && \
4646
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }') && \
47+
npm config set python python3 && \
4748
yarn config set network-timeout 600000 -g && \
4849
yarn --production --verbose --frozen-lockfile global add code-server@"$CODE_VERSION" && \
4950
yarn cache clean && \
@@ -56,6 +57,7 @@ RUN \
5657
pkg-config && \
5758
apt-get clean && \
5859
rm -rf \
60+
/config/* \
5961
/tmp/* \
6062
/var/lib/apt/lists/* \
6163
/var/tmp/*

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ This image provides various versions that are available via tags. `latest` tag u
7070
| Tag | Description |
7171
| :----: | --- |
7272
| latest | Stable releases |
73-
| focal | Stable releases, based on Ubuntu Focal |
73+
| focal | DEPRECATED (no longer updated, `latest` is rebased on focal) - Stable releases, based on Ubuntu Focal |
7474
| development | DEPRECATED (no longer updated) - Prereleases from their GitHub |
7575

7676
## Application Setup
@@ -262,6 +262,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
262262

263263
## Versions
264264

265+
* **29.11.21:** - Rebase to Ubuntu focal.
265266
* **16.09.21:** - Fix slow `chown` on large workspace (contents of workspace folder no longer chowned).
266267
* **11.07.21:** - Bump node to 14 to fix builds
267268
* **08.05.21:** - Fix doc link

0 commit comments

Comments
 (0)