mirror of
https://github.com/linuxserver/docker-code-server
synced 2025-06-26 18:27:40 +00:00
Compare commits
6 Commits
4.9.1-ls14
...
4.10.0-ls1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b1083a84a | ||
|
|
db3e708628 | ||
|
|
392976e04b | ||
|
|
044bae1e6e | ||
|
|
b274d7d4f0 | ||
|
|
eda42a9475 |
@@ -15,6 +15,6 @@ trim_trailing_whitespace = false
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[{**.sh,root/etc/cont-init.d/**,root/etc/services.d/**}]
|
||||
[{**.sh,root/etc/s6-overlay/s6-rc.d/**,root/etc/cont-init.d/**,root/etc/services.d/**}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
12
.github/workflows/call_invalid_helper.yml
vendored
Executable file
12
.github/workflows/call_invalid_helper.yml
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
name: Comment on invalid interaction
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
jobs:
|
||||
add-comment-on-invalid:
|
||||
if: github.event.label.name == 'invalid'
|
||||
permissions:
|
||||
issues: write
|
||||
uses: linuxserver/github-workflows/.github/workflows/invalid-interaction-helper.yml@v1
|
||||
secrets: inherit
|
||||
2
.github/workflows/greetings.yml
vendored
2
.github/workflows/greetings.yml
vendored
@@ -8,6 +8,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver/docker-code-server/blob/master/.github/ISSUE_TEMPLATE/issue.bug.yml) or [feature](https://github.com/linuxserver/docker-code-server/blob/master/.github/ISSUE_TEMPLATE/issue.feature.yml) issue templates!'
|
||||
issue-message: 'Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.'
|
||||
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-code-server/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
9
.github/workflows/permissions.yml
vendored
Executable file
9
.github/workflows/permissions.yml
vendored
Executable file
@@ -0,0 +1,9 @@
|
||||
name: Permission check
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**/run'
|
||||
- '**/finish'
|
||||
jobs:
|
||||
permission_check:
|
||||
uses: linuxserver/github-workflows/.github/workflows/init-svc-executable-permissions.yml@v1
|
||||
26
Jenkinsfile
vendored
26
Jenkinsfile
vendored
@@ -56,7 +56,7 @@ pipeline {
|
||||
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT
|
||||
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/'
|
||||
env.PULL_REQUEST = env.CHANGE_ID
|
||||
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.yml ./.github/ISSUE_TEMPLATE/issue.feature.yml ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/stale.yml ./.github/workflows/external_trigger.yml ./.github/workflows/package_trigger.yml'
|
||||
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.yml ./.github/ISSUE_TEMPLATE/issue.feature.yml ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/stale.yml ./.github/workflows/call_invalid_helper.yml ./.github/workflows/permissions.yml ./.github/workflows/external_trigger.yml ./.github/workflows/package_trigger.yml'
|
||||
}
|
||||
script{
|
||||
env.LS_RELEASE_NUMBER = sh(
|
||||
@@ -805,19 +805,19 @@ pipeline {
|
||||
echo $QUAYPASS | docker login quay.io -u $QUAYUSER --password-stdin
|
||||
if [ "${CI}" == "false" ]; then
|
||||
docker pull ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
docker pull ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
docker tag ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm32v7-${META_TAG}
|
||||
docker pull ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
docker tag ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm64v8-${META_TAG}
|
||||
fi
|
||||
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}" "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
|
||||
docker tag ${IMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG}
|
||||
docker tag ${IMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${META_TAG}
|
||||
docker tag ${IMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
||||
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-latest
|
||||
docker tag ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-latest
|
||||
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-latest
|
||||
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG}
|
||||
docker tag ${IMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${META_TAG}
|
||||
docker tag ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-latest
|
||||
docker tag ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG}
|
||||
docker tag ${IMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
||||
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-latest
|
||||
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
||||
if [ -n "${SEMVER}" ]; then
|
||||
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${SEMVER}
|
||||
@@ -825,13 +825,13 @@ pipeline {
|
||||
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${SEMVER}
|
||||
fi
|
||||
docker push ${MANIFESTIMAGE}:amd64-${META_TAG}
|
||||
docker push ${MANIFESTIMAGE}:arm32v7-${META_TAG}
|
||||
docker push ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
||||
docker push ${MANIFESTIMAGE}:amd64-latest
|
||||
docker push ${MANIFESTIMAGE}:arm32v7-latest
|
||||
docker push ${MANIFESTIMAGE}:arm64v8-latest
|
||||
docker push ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG}
|
||||
docker push ${MANIFESTIMAGE}:amd64-latest
|
||||
docker push ${MANIFESTIMAGE}:arm32v7-${META_TAG}
|
||||
docker push ${MANIFESTIMAGE}:arm32v7-latest
|
||||
docker push ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG}
|
||||
docker push ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
||||
docker push ${MANIFESTIMAGE}:arm64v8-latest
|
||||
docker push ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
||||
if [ -n "${SEMVER}" ]; then
|
||||
docker push ${MANIFESTIMAGE}:amd64-${SEMVER}
|
||||
@@ -977,12 +977,12 @@ pipeline {
|
||||
sh 'echo "build aborted"'
|
||||
}
|
||||
else if (currentBuild.currentResult == "SUCCESS"){
|
||||
sh ''' curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://wiki.jenkins-ci.org/download/attachments/2916393/headshot.png","embeds": [{"color": 1681177,\
|
||||
sh ''' curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/jenkins-avatar.png","embeds": [{"color": 1681177,\
|
||||
"description": "**Build:** '${BUILD_NUMBER}'\\n**CI Results:** '${CI_URL}'\\n**ShellCheck Results:** '${SHELLCHECK_URL}'\\n**Status:** Success\\n**Job:** '${RUN_DISPLAY_URL}'\\n**Change:** '${CODE_URL}'\\n**External Release:**: '${RELEASE_LINK}'\\n**DockerHub:** '${DOCKERHUB_LINK}'\\n"}],\
|
||||
"username": "Jenkins"}' ${BUILDS_DISCORD} '''
|
||||
}
|
||||
else {
|
||||
sh ''' curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://wiki.jenkins-ci.org/download/attachments/2916393/headshot.png","embeds": [{"color": 16711680,\
|
||||
sh ''' curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/jenkins-avatar.png","embeds": [{"color": 16711680,\
|
||||
"description": "**Build:** '${BUILD_NUMBER}'\\n**CI Results:** '${CI_URL}'\\n**ShellCheck Results:** '${SHELLCHECK_URL}'\\n**Status:** failure\\n**Job:** '${RUN_DISPLAY_URL}'\\n**Change:** '${CODE_URL}'\\n**External Release:**: '${RELEASE_LINK}'\\n**DockerHub:** '${DOCKERHUB_LINK}'\\n"}],\
|
||||
"username": "Jenkins"}' ${BUILDS_DISCORD} '''
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ The architectures supported by this image are:
|
||||
| :----: | :----: | ---- |
|
||||
| x86-64 | ✅ | amd64-\<version tag\> |
|
||||
| arm64 | ✅ | arm64v8-\<version tag\> |
|
||||
| armhf| ✅ | arm32v7-\<version tag\> |
|
||||
| armhf | ✅ | arm32v7-\<version tag\> |
|
||||
|
||||
## Application Setup
|
||||
|
||||
@@ -95,7 +95,7 @@ services:
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
- TZ=Etc/UTC
|
||||
- PASSWORD=password #optional
|
||||
- HASHED_PASSWORD= #optional
|
||||
- SUDO_PASSWORD=password #optional
|
||||
@@ -116,7 +116,7 @@ docker run -d \
|
||||
--name=code-server \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Europe/London \
|
||||
-e TZ=Etc/UTC \
|
||||
-e PASSWORD=password `#optional` \
|
||||
-e HASHED_PASSWORD= `#optional` \
|
||||
-e SUDO_PASSWORD=password `#optional` \
|
||||
@@ -127,6 +127,7 @@ docker run -d \
|
||||
-v /path/to/appdata/config:/config \
|
||||
--restart unless-stopped \
|
||||
lscr.io/linuxserver/code-server:latest
|
||||
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@@ -138,7 +139,7 @@ Container images are configured using parameters passed at runtime (such as thos
|
||||
| `-p 8443` | web gui |
|
||||
| `-e PUID=1000` | for UserID - see below for explanation |
|
||||
| `-e PGID=1000` | for GroupID - see below for explanation |
|
||||
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London |
|
||||
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
|
||||
| `-e PASSWORD=password` | Optional web gui password, if `PASSWORD` or `HASHED_PASSWORD` is not provided, there will be no auth. |
|
||||
| `-e HASHED_PASSWORD=` | Optional web gui password, overrides `PASSWORD`, instructions on how to create it is below. |
|
||||
| `-e SUDO_PASSWORD=password` | If this optional variable is set, user will have sudo access in the code-server terminal with the specified password. |
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
adduser3.118ubuntu5
|
||||
apt2.4.8
|
||||
apt-utils2.4.8
|
||||
base-files12ubuntu4.2
|
||||
base-files12ubuntu4.3
|
||||
base-passwd3.5.52build1
|
||||
bash5.1-6ubuntu1
|
||||
bsdutils1:2.37.2-4ubuntu3
|
||||
@@ -17,8 +17,8 @@ dpkg1.21.1ubuntu2.1
|
||||
e2fsprogs1.46.5-2ubuntu1.1
|
||||
findutils4.8.0-1ubuntu3
|
||||
gcc-12-base12.1.0-2ubuntu1~22.04
|
||||
git1:2.34.1-1ubuntu1.5
|
||||
git-man1:2.34.1-1ubuntu1.5
|
||||
git1:2.34.1-1ubuntu1.8
|
||||
git-man1:2.34.1-1ubuntu1.8
|
||||
gnupg2.2.27-3ubuntu2.1
|
||||
gnupg-l10n2.2.27-3ubuntu2.1
|
||||
gnupg-utils2.2.27-3ubuntu2.1
|
||||
@@ -34,7 +34,7 @@ gzip1.10-4ubuntu4.1
|
||||
hostname3.23ubuntu2
|
||||
init-system-helpers1.62
|
||||
jq1.6-2.1ubuntu3
|
||||
less590-1build1
|
||||
less590-1ubuntu0.22.04.1
|
||||
libacl12.3.1-1
|
||||
libapt-pkg6.02.4.8
|
||||
libassuan02.5.5-1build1
|
||||
@@ -70,14 +70,14 @@ libgdbm-compat41.23-1
|
||||
libgmp102:6.2.1+dfsg-3ubuntu1
|
||||
libgnutls303.7.3-4ubuntu1.1
|
||||
libgpg-error01.43-3
|
||||
libgssapi-krb5-21.19.2-2
|
||||
libgssapi-krb5-21.19.2-2ubuntu0.1
|
||||
libhogweed63.7.3-1build2
|
||||
libidn2-02.3.2-2build1
|
||||
libjq11.6-2.1ubuntu3
|
||||
libk5crypto31.19.2-2
|
||||
libk5crypto31.19.2-2ubuntu0.1
|
||||
libkeyutils11.6.1-2ubuntu3
|
||||
libkrb5-31.19.2-2
|
||||
libkrb5support01.19.2-2
|
||||
libkrb5-31.19.2-2ubuntu0.1
|
||||
libkrb5support01.19.2-2ubuntu0.1
|
||||
libksba81.6.0-2ubuntu0.2
|
||||
libldap-2.5-02.5.13+dfsg-0ubuntu0.22.04.1
|
||||
libldap-common2.5.13+dfsg-0ubuntu0.22.04.1
|
||||
@@ -93,10 +93,10 @@ libnpth01.6-3build2
|
||||
libnsl21.3.0-2build2
|
||||
libonig56.9.7.1-2build1
|
||||
libp11-kit00.24.0-6build1
|
||||
libpam0g1.4.0-11ubuntu2
|
||||
libpam-modules1.4.0-11ubuntu2
|
||||
libpam-modules-bin1.4.0-11ubuntu2
|
||||
libpam-runtime1.4.0-11ubuntu2
|
||||
libpam0g1.4.0-11ubuntu2.3
|
||||
libpam-modules1.4.0-11ubuntu2.3
|
||||
libpam-modules-bin1.4.0-11ubuntu2.3
|
||||
libpam-runtime1.4.0-11ubuntu2.3
|
||||
libpcre2-8-010.39-3ubuntu0.1
|
||||
libpcre32:8.39-13ubuntu0.22.04.1
|
||||
libperl5.345.34.0-3ubuntu1.1
|
||||
@@ -116,7 +116,7 @@ libsmartcols12.37.2-4ubuntu3
|
||||
libsqlite3-03.37.2-2ubuntu0.1
|
||||
libss21.46.5-2ubuntu1.1
|
||||
libssh-40.9.6-2build1
|
||||
libssl33.0.2-0ubuntu1.7
|
||||
libssl33.0.2-0ubuntu1.8
|
||||
libstdc++612.1.0-2ubuntu1~22.04
|
||||
libsystemd0249.11-0ubuntu3.6
|
||||
libtasn1-64.18.0-4build1
|
||||
@@ -149,7 +149,7 @@ netcat1.218-4ubuntu1
|
||||
netcat-openbsd1.218-4ubuntu1
|
||||
net-tools1.60+git20181103.0eebece-1ubuntu5
|
||||
openssh-client1:8.9p1-3ubuntu0.1
|
||||
openssl3.0.2-0ubuntu1.7
|
||||
openssl3.0.2-0ubuntu1.8
|
||||
passwd1:4.8.1-2ubuntu2.1
|
||||
patch2.7.6-7build2
|
||||
perl5.34.0-3ubuntu1.1
|
||||
@@ -161,7 +161,7 @@ publicsuffix20211207.1025-1
|
||||
readline-common8.1.2-1
|
||||
sed4.8-1ubuntu2
|
||||
sensible-utils0.0.17
|
||||
sudo1.9.9-1ubuntu2.1
|
||||
sudo1.9.9-1ubuntu2.2
|
||||
sysvinit-utils3.01-1ubuntu1
|
||||
tar1.34+dfsg-1build3
|
||||
tzdata2022g-0ubuntu0.22.04.1
|
||||
|
||||
Reference in New Issue
Block a user