mirror of
https://github.com/linuxserver/docker-code-server
synced 2025-06-26 18:27:40 +00:00
Compare commits
20 Commits
4.7.1-ls13
...
4.10.0-ls1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b1083a84a | ||
|
|
db3e708628 | ||
|
|
392976e04b | ||
|
|
044bae1e6e | ||
|
|
b274d7d4f0 | ||
|
|
eda42a9475 | ||
|
|
cf0baaa19b | ||
|
|
5264ef2d2c | ||
|
|
f4ecdc1b24 | ||
|
|
8b4f777e07 | ||
|
|
59b707226c | ||
|
|
37469a7963 | ||
|
|
29d0831ced | ||
|
|
0030ddc1a2 | ||
|
|
f0f3e4d153 | ||
|
|
1d88b3ebc1 | ||
|
|
7654a42739 | ||
|
|
67840bad2e | ||
|
|
4d030635a1 | ||
|
|
40f7cb1b82 |
@@ -15,6 +15,6 @@ trim_trailing_whitespace = false
|
|||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
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_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|||||||
40
.github/ISSUE_TEMPLATE/issue.bug.md
vendored
40
.github/ISSUE_TEMPLATE/issue.bug.md
vendored
@@ -1,40 +0,0 @@
|
|||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Create a report to help us improve
|
|
||||||
|
|
||||||
---
|
|
||||||
[linuxserverurl]: https://linuxserver.io
|
|
||||||
[][linuxserverurl]
|
|
||||||
|
|
||||||
<!--- If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support. --->
|
|
||||||
|
|
||||||
<!--- Provide a general summary of the bug in the Title above -->
|
|
||||||
|
|
||||||
------------------------------
|
|
||||||
|
|
||||||
## Expected Behavior
|
|
||||||
<!--- Tell us what should happen -->
|
|
||||||
|
|
||||||
## Current Behavior
|
|
||||||
<!--- Tell us what happens instead of the expected behavior -->
|
|
||||||
|
|
||||||
## Steps to Reproduce
|
|
||||||
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
|
|
||||||
<!--- reproduce this bug. Include code to reproduce, if relevant -->
|
|
||||||
1.
|
|
||||||
2.
|
|
||||||
3.
|
|
||||||
4.
|
|
||||||
|
|
||||||
## Environment
|
|
||||||
**OS:**
|
|
||||||
**CPU architecture:** x86_64/arm32/arm64
|
|
||||||
**How docker service was installed:**
|
|
||||||
<!--- ie. from the official docker repo, from the distro repo, nas OS provided, etc. -->
|
|
||||||
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
|
|
||||||
|
|
||||||
## Command used to create docker container (run/create/compose/screenshot)
|
|
||||||
<!--- Provide your docker create/run command or compose yaml snippet, or a screenshot of settings if using a gui to create the container -->
|
|
||||||
|
|
||||||
## Docker logs
|
|
||||||
<!--- Provide a full docker log, output of "docker logs code-server" -->
|
|
||||||
77
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
Executable file
77
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
Executable file
@@ -0,0 +1,77 @@
|
|||||||
|
# Based on the issue template
|
||||||
|
name: Bug report
|
||||||
|
description: Create a report to help us improve
|
||||||
|
title: "[BUG] <title>"
|
||||||
|
labels: [Bug]
|
||||||
|
body:
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: Is there an existing issue for this?
|
||||||
|
description: Please search to see if an issue already exists for the bug you encountered.
|
||||||
|
options:
|
||||||
|
- label: I have searched the existing issues
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Current Behavior
|
||||||
|
description: Tell us what happens instead of the expected behavior.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Expected Behavior
|
||||||
|
description: Tell us what should happen.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Steps To Reproduce
|
||||||
|
description: Steps to reproduce the behavior.
|
||||||
|
placeholder: |
|
||||||
|
1. In this environment...
|
||||||
|
2. With this config...
|
||||||
|
3. Run '...'
|
||||||
|
4. See error...
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Environment
|
||||||
|
description: |
|
||||||
|
examples:
|
||||||
|
- **OS**: Ubuntu 20.04
|
||||||
|
- **How docker service was installed**: distro's packagemanager
|
||||||
|
value: |
|
||||||
|
- OS:
|
||||||
|
- How docker service was installed:
|
||||||
|
render: markdown
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: dropdown
|
||||||
|
attributes:
|
||||||
|
label: CPU architecture
|
||||||
|
options:
|
||||||
|
- x86-64
|
||||||
|
- arm64
|
||||||
|
- armhf
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Docker creation
|
||||||
|
description: |
|
||||||
|
Command used to create docker container
|
||||||
|
Provide your docker create/run command or compose yaml snippet, or a screenshot of settings if using a gui to create the container
|
||||||
|
render: bash
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
description: |
|
||||||
|
Provide a full docker log, output of "docker logs linuxserver.io"
|
||||||
|
label: Container logs
|
||||||
|
placeholder: |
|
||||||
|
Output of `docker logs linuxserver.io`
|
||||||
|
render: bash
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
25
.github/ISSUE_TEMPLATE/issue.feature.md
vendored
25
.github/ISSUE_TEMPLATE/issue.feature.md
vendored
@@ -1,25 +0,0 @@
|
|||||||
---
|
|
||||||
name: Feature request
|
|
||||||
about: Suggest an idea for this project
|
|
||||||
|
|
||||||
---
|
|
||||||
[linuxserverurl]: https://linuxserver.io
|
|
||||||
[][linuxserverurl]
|
|
||||||
|
|
||||||
<!--- If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support. --->
|
|
||||||
|
|
||||||
<!--- If this acts as a feature request please ask yourself if this modification is something the whole userbase will benefit from --->
|
|
||||||
<!--- If this is a specific change for corner case functionality or plugins please look at making a Docker Mod or local script https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ -->
|
|
||||||
|
|
||||||
<!--- Provide a general summary of the request in the Title above -->
|
|
||||||
|
|
||||||
------------------------------
|
|
||||||
|
|
||||||
## Desired Behavior
|
|
||||||
<!--- Tell us what should happen -->
|
|
||||||
|
|
||||||
## Current Behavior
|
|
||||||
<!--- Tell us what happens instead of the expected behavior -->
|
|
||||||
|
|
||||||
## Alternatives Considered
|
|
||||||
<!--- Tell us what other options you have tried or considered -->
|
|
||||||
31
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
Executable file
31
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
Executable file
@@ -0,0 +1,31 @@
|
|||||||
|
# Based on the issue template
|
||||||
|
name: Feature request
|
||||||
|
description: Suggest an idea for this project
|
||||||
|
title: "[FEAT] <title>"
|
||||||
|
labels: [enhancement]
|
||||||
|
body:
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: Is this a new feature request?
|
||||||
|
description: Please search to see if a feature request already exists.
|
||||||
|
options:
|
||||||
|
- label: I have searched the existing issues
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Wanted change
|
||||||
|
description: Tell us what you want to happen.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Reason for change
|
||||||
|
description: Justify your request, why do you want it, what is the benefit.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: Proposed code change
|
||||||
|
description: Do you have a potential code change in mind?
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
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
|
||||||
10
.github/workflows/external_trigger.yml
vendored
10
.github/workflows/external_trigger.yml
vendored
@@ -7,7 +7,7 @@ jobs:
|
|||||||
external-trigger-master:
|
external-trigger-master:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.3
|
- uses: actions/checkout@v3.1.0
|
||||||
|
|
||||||
- name: External Trigger
|
- name: External Trigger
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
@@ -48,8 +48,12 @@ jobs:
|
|||||||
| jq -r '.config.digest')
|
| jq -r '.config.digest')
|
||||||
image_info=$(curl -sL \
|
image_info=$(curl -sL \
|
||||||
--header "Authorization: Bearer ${token}" \
|
--header "Authorization: Bearer ${token}" \
|
||||||
"https://ghcr.io/v2/${image}/blobs/${digest}" \
|
"https://ghcr.io/v2/${image}/blobs/${digest}")
|
||||||
| jq -r '.container_config')
|
if [[ $(echo $image_info | jq -r '.container_config') == "null" ]]; then
|
||||||
|
image_info=$(echo $image_info | jq -r '.config')
|
||||||
|
else
|
||||||
|
image_info=$(echo $image_info | jq -r '.container_config')
|
||||||
|
fi
|
||||||
IMAGE_RELEASE=$(echo ${image_info} | jq -r '.Labels.build_version' | awk '{print $3}')
|
IMAGE_RELEASE=$(echo ${image_info} | jq -r '.Labels.build_version' | awk '{print $3}')
|
||||||
IMAGE_VERSION=$(echo ${IMAGE_RELEASE} | awk -F'-ls' '{print $1}')
|
IMAGE_VERSION=$(echo ${IMAGE_RELEASE} | awk -F'-ls' '{print $1}')
|
||||||
if [ -z "${IMAGE_VERSION}" ]; then
|
if [ -z "${IMAGE_VERSION}" ]; then
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ jobs:
|
|||||||
external-trigger-scheduler:
|
external-trigger-scheduler:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.3
|
- uses: actions/checkout@v3.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/greetings.yml
vendored
2
.github/workflows/greetings.yml
vendored
@@ -8,6 +8,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/first-interaction@v1
|
- uses: actions/first-interaction@v1
|
||||||
with:
|
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.md) or [feature](https://github.com/linuxserver/docker-code-server/blob/master/.github/ISSUE_TEMPLATE/issue.feature.md) 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)!'
|
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 }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
2
.github/workflows/package_trigger.yml
vendored
2
.github/workflows/package_trigger.yml
vendored
@@ -7,7 +7,7 @@ jobs:
|
|||||||
package-trigger-master:
|
package-trigger-master:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.3
|
- uses: actions/checkout@v3.1.0
|
||||||
|
|
||||||
- name: Package Trigger
|
- name: Package Trigger
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ jobs:
|
|||||||
package-trigger-scheduler:
|
package-trigger-scheduler:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.3
|
- uses: actions/checkout@v3.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
|
|
||||||
|
|||||||
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
|
||||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v3
|
- uses: actions/stale@v6.0.1
|
||||||
with:
|
with:
|
||||||
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
|
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
|
||||||
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
|
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
|
||||||
|
|||||||
28
Jenkinsfile
vendored
28
Jenkinsfile
vendored
@@ -56,7 +56,7 @@ pipeline {
|
|||||||
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT
|
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.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/'
|
||||||
env.PULL_REQUEST = env.CHANGE_ID
|
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.md ./.github/ISSUE_TEMPLATE/issue.feature.md ./.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{
|
script{
|
||||||
env.LS_RELEASE_NUMBER = sh(
|
env.LS_RELEASE_NUMBER = sh(
|
||||||
@@ -277,7 +277,7 @@ pipeline {
|
|||||||
echo "Jenkinsfile is up to date."
|
echo "Jenkinsfile is up to date."
|
||||||
fi
|
fi
|
||||||
# Stage 2 - Delete old templates
|
# Stage 2 - Delete old templates
|
||||||
OLD_TEMPLATES=".github/ISSUE_TEMPLATE.md"
|
OLD_TEMPLATES=".github/ISSUE_TEMPLATE.md\n.github/ISSUE_TEMPLATE/issue.bug.md\n.github/ISSUE_TEMPLATE/issue.feature.md"
|
||||||
for i in ${OLD_TEMPLATES}; do
|
for i in ${OLD_TEMPLATES}; do
|
||||||
if [[ -f "${i}" ]]; then
|
if [[ -f "${i}" ]]; then
|
||||||
TEMPLATES_TO_DELETE="${i} ${TEMPLATES_TO_DELETE}"
|
TEMPLATES_TO_DELETE="${i} ${TEMPLATES_TO_DELETE}"
|
||||||
@@ -805,19 +805,19 @@ pipeline {
|
|||||||
echo $QUAYPASS | docker login quay.io -u $QUAYUSER --password-stdin
|
echo $QUAYPASS | docker login quay.io -u $QUAYUSER --password-stdin
|
||||||
if [ "${CI}" == "false" ]; then
|
if [ "${CI}" == "false" ]; then
|
||||||
docker pull ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER}
|
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 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}
|
docker tag ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm64v8-${META_TAG}
|
||||||
fi
|
fi
|
||||||
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}" "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
|
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}" "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
|
||||||
docker tag ${IMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG}
|
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}: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 ${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 ${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}
|
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
||||||
if [ -n "${SEMVER}" ]; then
|
if [ -n "${SEMVER}" ]; then
|
||||||
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${SEMVER}
|
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${SEMVER}
|
||||||
@@ -825,13 +825,13 @@ pipeline {
|
|||||||
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${SEMVER}
|
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${SEMVER}
|
||||||
fi
|
fi
|
||||||
docker push ${MANIFESTIMAGE}:amd64-${META_TAG}
|
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-${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}:arm32v7-${EXT_RELEASE_TAG}
|
||||||
|
docker push ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
||||||
|
docker push ${MANIFESTIMAGE}:arm64v8-latest
|
||||||
docker push ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
docker push ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
||||||
if [ -n "${SEMVER}" ]; then
|
if [ -n "${SEMVER}" ]; then
|
||||||
docker push ${MANIFESTIMAGE}:amd64-${SEMVER}
|
docker push ${MANIFESTIMAGE}:amd64-${SEMVER}
|
||||||
@@ -977,12 +977,12 @@ pipeline {
|
|||||||
sh 'echo "build aborted"'
|
sh 'echo "build aborted"'
|
||||||
}
|
}
|
||||||
else if (currentBuild.currentResult == "SUCCESS"){
|
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"}],\
|
"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} '''
|
"username": "Jenkins"}' ${BUILDS_DISCORD} '''
|
||||||
}
|
}
|
||||||
else {
|
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"}],\
|
"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} '''
|
"username": "Jenkins"}' ${BUILDS_DISCORD} '''
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ The architectures supported by this image are:
|
|||||||
| :----: | :----: | ---- |
|
| :----: | :----: | ---- |
|
||||||
| x86-64 | ✅ | amd64-\<version tag\> |
|
| x86-64 | ✅ | amd64-\<version tag\> |
|
||||||
| arm64 | ✅ | arm64v8-\<version tag\> |
|
| arm64 | ✅ | arm64v8-\<version tag\> |
|
||||||
| armhf| ✅ | arm32v7-\<version tag\> |
|
| armhf | ✅ | arm32v7-\<version tag\> |
|
||||||
|
|
||||||
## Application Setup
|
## Application Setup
|
||||||
|
|
||||||
@@ -95,7 +95,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Europe/London
|
- TZ=Etc/UTC
|
||||||
- PASSWORD=password #optional
|
- PASSWORD=password #optional
|
||||||
- HASHED_PASSWORD= #optional
|
- HASHED_PASSWORD= #optional
|
||||||
- SUDO_PASSWORD=password #optional
|
- SUDO_PASSWORD=password #optional
|
||||||
@@ -116,7 +116,7 @@ docker run -d \
|
|||||||
--name=code-server \
|
--name=code-server \
|
||||||
-e PUID=1000 \
|
-e PUID=1000 \
|
||||||
-e PGID=1000 \
|
-e PGID=1000 \
|
||||||
-e TZ=Europe/London \
|
-e TZ=Etc/UTC \
|
||||||
-e PASSWORD=password `#optional` \
|
-e PASSWORD=password `#optional` \
|
||||||
-e HASHED_PASSWORD= `#optional` \
|
-e HASHED_PASSWORD= `#optional` \
|
||||||
-e SUDO_PASSWORD=password `#optional` \
|
-e SUDO_PASSWORD=password `#optional` \
|
||||||
@@ -127,6 +127,7 @@ docker run -d \
|
|||||||
-v /path/to/appdata/config:/config \
|
-v /path/to/appdata/config:/config \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
lscr.io/linuxserver/code-server:latest
|
lscr.io/linuxserver/code-server:latest
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
@@ -138,7 +139,7 @@ Container images are configured using parameters passed at runtime (such as thos
|
|||||||
| `-p 8443` | web gui |
|
| `-p 8443` | web gui |
|
||||||
| `-e PUID=1000` | for UserID - see below for explanation |
|
| `-e PUID=1000` | for UserID - see below for explanation |
|
||||||
| `-e PGID=1000` | for GroupID - 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 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 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. |
|
| `-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,13 +1,13 @@
|
|||||||
adduser3.118ubuntu5
|
adduser3.118ubuntu5
|
||||||
apt2.4.8
|
apt2.4.8
|
||||||
apt-utils2.4.8
|
apt-utils2.4.8
|
||||||
base-files12ubuntu4.2
|
base-files12ubuntu4.3
|
||||||
base-passwd3.5.52build1
|
base-passwd3.5.52build1
|
||||||
bash5.1-6ubuntu1
|
bash5.1-6ubuntu1
|
||||||
bsdutils1:2.37.2-4ubuntu3
|
bsdutils1:2.37.2-4ubuntu3
|
||||||
ca-certificates20211016
|
ca-certificates20211016ubuntu0.22.04.1
|
||||||
coreutils8.32-4.1ubuntu1
|
coreutils8.32-4.1ubuntu1
|
||||||
curl7.81.0-1ubuntu1.4
|
curl7.81.0-1ubuntu1.7
|
||||||
dash0.5.11+git20210903+057cd650a4ed-3build1
|
dash0.5.11+git20210903+057cd650a4ed-3build1
|
||||||
debconf1.5.79ubuntu1
|
debconf1.5.79ubuntu1
|
||||||
debianutils5.5-1ubuntu2
|
debianutils5.5-1ubuntu2
|
||||||
@@ -17,8 +17,8 @@ dpkg1.21.1ubuntu2.1
|
|||||||
e2fsprogs1.46.5-2ubuntu1.1
|
e2fsprogs1.46.5-2ubuntu1.1
|
||||||
findutils4.8.0-1ubuntu3
|
findutils4.8.0-1ubuntu3
|
||||||
gcc-12-base12.1.0-2ubuntu1~22.04
|
gcc-12-base12.1.0-2ubuntu1~22.04
|
||||||
git1:2.34.1-1ubuntu1.5
|
git1:2.34.1-1ubuntu1.8
|
||||||
git-man1:2.34.1-1ubuntu1.5
|
git-man1:2.34.1-1ubuntu1.8
|
||||||
gnupg2.2.27-3ubuntu2.1
|
gnupg2.2.27-3ubuntu2.1
|
||||||
gnupg-l10n2.2.27-3ubuntu2.1
|
gnupg-l10n2.2.27-3ubuntu2.1
|
||||||
gnupg-utils2.2.27-3ubuntu2.1
|
gnupg-utils2.2.27-3ubuntu2.1
|
||||||
@@ -34,7 +34,7 @@ gzip1.10-4ubuntu4.1
|
|||||||
hostname3.23ubuntu2
|
hostname3.23ubuntu2
|
||||||
init-system-helpers1.62
|
init-system-helpers1.62
|
||||||
jq1.6-2.1ubuntu3
|
jq1.6-2.1ubuntu3
|
||||||
less590-1build1
|
less590-1ubuntu0.22.04.1
|
||||||
libacl12.3.1-1
|
libacl12.3.1-1
|
||||||
libapt-pkg6.02.4.8
|
libapt-pkg6.02.4.8
|
||||||
libassuan02.5.5-1build1
|
libassuan02.5.5-1build1
|
||||||
@@ -53,13 +53,13 @@ libc-bin2.35-0ubuntu3.1
|
|||||||
libcbor0.80.8.0-2ubuntu1
|
libcbor0.80.8.0-2ubuntu1
|
||||||
libcom-err21.46.5-2ubuntu1.1
|
libcom-err21.46.5-2ubuntu1.1
|
||||||
libcrypt11:4.4.27-1
|
libcrypt11:4.4.27-1
|
||||||
libcurl3-gnutls7.81.0-1ubuntu1.4
|
libcurl3-gnutls7.81.0-1ubuntu1.7
|
||||||
libcurl47.81.0-1ubuntu1.4
|
libcurl47.81.0-1ubuntu1.7
|
||||||
libdb5.35.3.28+dfsg1-0.8ubuntu3
|
libdb5.35.3.28+dfsg1-0.8ubuntu3
|
||||||
libdebconfclient00.261ubuntu1
|
libdebconfclient00.261ubuntu1
|
||||||
libedit23.1-20210910-1build1
|
libedit23.1-20210910-1build1
|
||||||
liberror-perl0.17029-1
|
liberror-perl0.17029-1
|
||||||
libexpat12.4.7-1
|
libexpat12.4.7-1ubuntu0.2
|
||||||
libext2fs21.46.5-2ubuntu1.1
|
libext2fs21.46.5-2ubuntu1.1
|
||||||
libffi83.4.2-4
|
libffi83.4.2-4
|
||||||
libfido2-11.10.0-1
|
libfido2-11.10.0-1
|
||||||
@@ -70,15 +70,15 @@ libgdbm-compat41.23-1
|
|||||||
libgmp102:6.2.1+dfsg-3ubuntu1
|
libgmp102:6.2.1+dfsg-3ubuntu1
|
||||||
libgnutls303.7.3-4ubuntu1.1
|
libgnutls303.7.3-4ubuntu1.1
|
||||||
libgpg-error01.43-3
|
libgpg-error01.43-3
|
||||||
libgssapi-krb5-21.19.2-2
|
libgssapi-krb5-21.19.2-2ubuntu0.1
|
||||||
libhogweed63.7.3-1build2
|
libhogweed63.7.3-1build2
|
||||||
libidn2-02.3.2-2build1
|
libidn2-02.3.2-2build1
|
||||||
libjq11.6-2.1ubuntu3
|
libjq11.6-2.1ubuntu3
|
||||||
libk5crypto31.19.2-2
|
libk5crypto31.19.2-2ubuntu0.1
|
||||||
libkeyutils11.6.1-2ubuntu3
|
libkeyutils11.6.1-2ubuntu3
|
||||||
libkrb5-31.19.2-2
|
libkrb5-31.19.2-2ubuntu0.1
|
||||||
libkrb5support01.19.2-2
|
libkrb5support01.19.2-2ubuntu0.1
|
||||||
libksba81.6.0-2build1
|
libksba81.6.0-2ubuntu0.2
|
||||||
libldap-2.5-02.5.13+dfsg-0ubuntu0.22.04.1
|
libldap-2.5-02.5.13+dfsg-0ubuntu0.22.04.1
|
||||||
libldap-common2.5.13+dfsg-0ubuntu0.22.04.1
|
libldap-common2.5.13+dfsg-0ubuntu0.22.04.1
|
||||||
liblz4-11.9.3-2build2
|
liblz4-11.9.3-2build2
|
||||||
@@ -93,10 +93,10 @@ libnpth01.6-3build2
|
|||||||
libnsl21.3.0-2build2
|
libnsl21.3.0-2build2
|
||||||
libonig56.9.7.1-2build1
|
libonig56.9.7.1-2build1
|
||||||
libp11-kit00.24.0-6build1
|
libp11-kit00.24.0-6build1
|
||||||
libpam0g1.4.0-11ubuntu2
|
libpam0g1.4.0-11ubuntu2.3
|
||||||
libpam-modules1.4.0-11ubuntu2
|
libpam-modules1.4.0-11ubuntu2.3
|
||||||
libpam-modules-bin1.4.0-11ubuntu2
|
libpam-modules-bin1.4.0-11ubuntu2.3
|
||||||
libpam-runtime1.4.0-11ubuntu2
|
libpam-runtime1.4.0-11ubuntu2.3
|
||||||
libpcre2-8-010.39-3ubuntu0.1
|
libpcre2-8-010.39-3ubuntu0.1
|
||||||
libpcre32:8.39-13ubuntu0.22.04.1
|
libpcre32:8.39-13ubuntu0.22.04.1
|
||||||
libperl5.345.34.0-3ubuntu1.1
|
libperl5.345.34.0-3ubuntu1.1
|
||||||
@@ -104,19 +104,19 @@ libprocps82:3.3.17-6ubuntu2
|
|||||||
libpsl50.21.0-1.2build2
|
libpsl50.21.0-1.2build2
|
||||||
libreadline88.1.2-1
|
libreadline88.1.2-1
|
||||||
librtmp12.4+20151223.gitfa8646d.1-2build4
|
librtmp12.4+20151223.gitfa8646d.1-2build4
|
||||||
libsasl2-22.1.27+dfsg2-3ubuntu1
|
libsasl2-22.1.27+dfsg2-3ubuntu1.1
|
||||||
libsasl2-modules2.1.27+dfsg2-3ubuntu1
|
libsasl2-modules2.1.27+dfsg2-3ubuntu1.1
|
||||||
libsasl2-modules-db2.1.27+dfsg2-3ubuntu1
|
libsasl2-modules-db2.1.27+dfsg2-3ubuntu1.1
|
||||||
libseccomp22.5.3-2ubuntu2
|
libseccomp22.5.3-2ubuntu2
|
||||||
libselinux13.3-1build2
|
libselinux13.3-1build2
|
||||||
libsemanage23.3-1build2
|
libsemanage23.3-1build2
|
||||||
libsemanage-common3.3-1build2
|
libsemanage-common3.3-1build2
|
||||||
libsepol23.3-1build1
|
libsepol23.3-1build1
|
||||||
libsmartcols12.37.2-4ubuntu3
|
libsmartcols12.37.2-4ubuntu3
|
||||||
libsqlite3-03.37.2-2
|
libsqlite3-03.37.2-2ubuntu0.1
|
||||||
libss21.46.5-2ubuntu1.1
|
libss21.46.5-2ubuntu1.1
|
||||||
libssh-40.9.6-2build1
|
libssh-40.9.6-2build1
|
||||||
libssl33.0.2-0ubuntu1.6
|
libssl33.0.2-0ubuntu1.8
|
||||||
libstdc++612.1.0-2ubuntu1~22.04
|
libstdc++612.1.0-2ubuntu1~22.04
|
||||||
libsystemd0249.11-0ubuntu3.6
|
libsystemd0249.11-0ubuntu3.6
|
||||||
libtasn1-64.18.0-4build1
|
libtasn1-64.18.0-4build1
|
||||||
@@ -136,7 +136,7 @@ libxmuu12:1.1.3-3
|
|||||||
libxxhash00.8.1-1
|
libxxhash00.8.1-1
|
||||||
libzstd11.4.8+dfsg-3build1
|
libzstd11.4.8+dfsg-3build1
|
||||||
locales2.35-0ubuntu3.1
|
locales2.35-0ubuntu3.1
|
||||||
login1:4.8.1-2ubuntu2
|
login1:4.8.1-2ubuntu2.1
|
||||||
logsave1.46.5-2ubuntu1.1
|
logsave1.46.5-2ubuntu1.1
|
||||||
lsb-base11.1.0ubuntu4
|
lsb-base11.1.0ubuntu4
|
||||||
mawk1.3.4.20200120-3
|
mawk1.3.4.20200120-3
|
||||||
@@ -148,9 +148,9 @@ netbase6.3
|
|||||||
netcat1.218-4ubuntu1
|
netcat1.218-4ubuntu1
|
||||||
netcat-openbsd1.218-4ubuntu1
|
netcat-openbsd1.218-4ubuntu1
|
||||||
net-tools1.60+git20181103.0eebece-1ubuntu5
|
net-tools1.60+git20181103.0eebece-1ubuntu5
|
||||||
openssh-client1:8.9p1-3
|
openssh-client1:8.9p1-3ubuntu0.1
|
||||||
openssl3.0.2-0ubuntu1.6
|
openssl3.0.2-0ubuntu1.8
|
||||||
passwd1:4.8.1-2ubuntu2
|
passwd1:4.8.1-2ubuntu2.1
|
||||||
patch2.7.6-7build2
|
patch2.7.6-7build2
|
||||||
perl5.34.0-3ubuntu1.1
|
perl5.34.0-3ubuntu1.1
|
||||||
perl-base5.34.0-3ubuntu1.1
|
perl-base5.34.0-3ubuntu1.1
|
||||||
@@ -161,12 +161,12 @@ publicsuffix20211207.1025-1
|
|||||||
readline-common8.1.2-1
|
readline-common8.1.2-1
|
||||||
sed4.8-1ubuntu2
|
sed4.8-1ubuntu2
|
||||||
sensible-utils0.0.17
|
sensible-utils0.0.17
|
||||||
sudo1.9.9-1ubuntu2.1
|
sudo1.9.9-1ubuntu2.2
|
||||||
sysvinit-utils3.01-1ubuntu1
|
sysvinit-utils3.01-1ubuntu1
|
||||||
tar1.34+dfsg-1build3
|
tar1.34+dfsg-1build3
|
||||||
tzdata2022c-0ubuntu0.22.04.0
|
tzdata2022g-0ubuntu0.22.04.1
|
||||||
ubuntu-keyring2021.03.26
|
ubuntu-keyring2021.03.26
|
||||||
usrmerge25ubuntu2
|
usrmerge25ubuntu2
|
||||||
util-linux2.37.2-4ubuntu3
|
util-linux2.37.2-4ubuntu3
|
||||||
xauth1:1.1-1build2
|
xauth1:1.1-1build2
|
||||||
zlib1g1:1.2.11.dfsg-2ubuntu9.1
|
zlib1g1:1.2.11.dfsg-2ubuntu9.2
|
||||||
|
|||||||
Reference in New Issue
Block a user