Skip to content

Commit b66a406

Browse files
authored
Merge pull request #19 from linuxserver/320-rebase
rebase to Alpine 3.20
2 parents 4c8681b + 8eccd11 commit b66a406

File tree

7 files changed

+25
-42
lines changed

7 files changed

+25
-42
lines changed

Diff for: .github/workflows/external_trigger.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
echo "**** External trigger running off of master branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_FILEZILLA_MASTER\". ****"
2121
echo "External trigger running off of master branch. To disable this trigger, set a Github secret named \`PAUSE_EXTERNAL_TRIGGER_FILEZILLA_MASTER\`" >> $GITHUB_STEP_SUMMARY
2222
echo "**** Retrieving external version ****"
23-
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
23+
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
2424
&& awk '/^P:'"filezilla"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://')
2525
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
2626
echo "**** Can't retrieve external version, exiting ****"
@@ -74,7 +74,7 @@ jobs:
7474
echo "**** Version ${EXT_RELEASE} already pushed, exiting ****"
7575
echo "Version ${EXT_RELEASE} already pushed, exiting" >> $GITHUB_STEP_SUMMARY
7676
exit 0
77-
elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/community/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"filezilla"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then
77+
elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"filezilla"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then
7878
echo "**** New version ${EXT_RELEASE} found; but not all arch repos updated yet; exiting ****"
7979
echo "New version ${EXT_RELEASE} found; but not all arch repos updated yet; exiting" >> $GITHUB_STEP_SUMMARY
8080
FAILURE_REASON="New version ${EXT_RELEASE} for filezilla tag latest is detected, however not all arch repos are updated yet. Will try again later."

Diff for: Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-kasmvnc:alpine319
1+
FROM ghcr.io/linuxserver/baseimage-kasmvnc:alpine320
22

33
# set version label
44
ARG BUILD_DATE
@@ -17,7 +17,7 @@ RUN \
1717
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/filezilla-logo.png && \
1818
echo "**** install packages ****" && \
1919
if [ -z ${FILEZILLA_VERSION+x} ]; then \
20-
FILEZILLA_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
20+
FILEZILLA_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
2121
&& awk '/^P:filezilla$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
2222
fi && \
2323
apk add --no-cache \

Diff for: Dockerfile.aarch64

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-kasmvnc:arm64v8-alpine319
1+
FROM ghcr.io/linuxserver/baseimage-kasmvnc:arm64v8-alpine320
22

33
# set version label
44
ARG BUILD_DATE
@@ -17,7 +17,7 @@ RUN \
1717
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/filezilla-logo.png && \
1818
echo "**** install packages ****" && \
1919
if [ -z ${FILEZILLA_VERSION+x} ]; then \
20-
FILEZILLA_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
20+
FILEZILLA_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
2121
&& awk '/^P:filezilla$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
2222
fi && \
2323
apk add --no-cache \

Diff for: Jenkinsfile

+13-32
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ pipeline {
2525
DEV_DOCKERHUB_IMAGE = 'lsiodev/filezilla'
2626
PR_DOCKERHUB_IMAGE = 'lspipepr/filezilla'
2727
DIST_IMAGE = 'alpine'
28-
DIST_TAG = '3.19'
29-
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.19/community/'
28+
DIST_TAG = '3.20'
29+
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.20/community/'
3030
DIST_REPO_PACKAGES = 'filezilla'
3131
MULTIARCH = 'true'
3232
CI = 'true'
@@ -299,7 +299,7 @@ pipeline {
299299
echo "Jenkinsfile is up to date."
300300
fi
301301
echo "Starting Stage 2 - Delete old templates"
302-
OLD_TEMPLATES=".github/ISSUE_TEMPLATE.md .github/ISSUE_TEMPLATE/issue.bug.md .github/ISSUE_TEMPLATE/issue.feature.md .github/workflows/call_invalid_helper.yml .github/workflows/stale.yml Dockerfile.armhf"
302+
OLD_TEMPLATES=".github/ISSUE_TEMPLATE.md .github/ISSUE_TEMPLATE/issue.bug.md .github/ISSUE_TEMPLATE/issue.feature.md .github/workflows/call_invalid_helper.yml .github/workflows/stale.yml"
303303
for i in ${OLD_TEMPLATES}; do
304304
if [[ -f "${i}" ]]; then
305305
TEMPLATES_TO_DELETE="${i} ${TEMPLATES_TO_DELETE}"
@@ -529,6 +529,7 @@ pipeline {
529529
--label \"org.opencontainers.image.title=Filezilla\" \
530530
--label \"org.opencontainers.image.description=[FIleZilla](https://filezilla-project.org/) Client is a fast and reliable cross-platform FTP, FTPS and SFTP client with lots of useful features and an intuitive graphical user interface.\" \
531531
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
532+
--provenance=false --sbom=false \
532533
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
533534
}
534535
}
@@ -560,6 +561,7 @@ pipeline {
560561
--label \"org.opencontainers.image.title=Filezilla\" \
561562
--label \"org.opencontainers.image.description=[FIleZilla](https://filezilla-project.org/) Client is a fast and reliable cross-platform FTP, FTPS and SFTP client with lots of useful features and an intuitive graphical user interface.\" \
562563
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
564+
--provenance=false --sbom=false \
563565
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
564566
}
565567
}
@@ -588,6 +590,7 @@ pipeline {
588590
--label \"org.opencontainers.image.title=Filezilla\" \
589591
--label \"org.opencontainers.image.description=[FIleZilla](https://filezilla-project.org/) Client is a fast and reliable cross-platform FTP, FTPS and SFTP client with lots of useful features and an intuitive graphical user interface.\" \
590592
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
593+
--provenance=false --sbom=false \
591594
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
592595
sh "docker tag ${IMAGE}:arm64v8-${META_TAG} ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}"
593596
retry(5) {
@@ -711,7 +714,7 @@ pipeline {
711714
--shm-size=1gb \
712715
-v /var/run/docker.sock:/var/run/docker.sock \
713716
-e IMAGE=\"${IMAGE}\" \
714-
-e DELAY_START=\"${CI_DELAY}\" \
717+
-e DOCKER_LOGS_TIMEOUT=\"${CI_DELAY}\" \
715718
-e TAGS=\"${CI_TAGS}\" \
716719
-e META_TAG=\"${META_TAG}\" \
717720
-e PORT=\"${CI_PORT}\" \
@@ -819,35 +822,13 @@ pipeline {
819822
docker push ${MANIFESTIMAGE}:amd64-${SEMVER}
820823
docker push ${MANIFESTIMAGE}:arm64v8-${SEMVER}
821824
fi
822-
docker manifest push --purge ${MANIFESTIMAGE}:latest || :
823-
docker manifest create ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:amd64-latest ${MANIFESTIMAGE}:arm64v8-latest
824-
docker manifest annotate ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:arm64v8-latest --os linux --arch arm64 --variant v8
825-
docker manifest push --purge ${MANIFESTIMAGE}:${META_TAG} || :
826-
docker manifest create ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
827-
docker manifest annotate ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG} --os linux --arch arm64 --variant v8
828-
docker manifest push --purge ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} || :
829-
docker manifest create ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
830-
docker manifest annotate ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG} --os linux --arch arm64 --variant v8
831-
if [ -n "${SEMVER}" ]; then
832-
docker manifest push --purge ${MANIFESTIMAGE}:${SEMVER} || :
833-
docker manifest create ${MANIFESTIMAGE}:${SEMVER} ${MANIFESTIMAGE}:amd64-${SEMVER} ${MANIFESTIMAGE}:arm64v8-${SEMVER}
834-
docker manifest annotate ${MANIFESTIMAGE}:${SEMVER} ${MANIFESTIMAGE}:arm64v8-${SEMVER} --os linux --arch arm64 --variant v8
835-
fi
836-
token=$(curl -sX GET "https://ghcr.io/token?scope=repository%3Alinuxserver%2F${CONTAINER_NAME}%3Apull" | jq -r '.token')
837-
digest=$(curl -s \
838-
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
839-
--header "Authorization: Bearer ${token}" \
840-
"https://ghcr.io/v2/linuxserver/${CONTAINER_NAME}/manifests/arm32v7-latest")
841-
if [[ $(echo "$digest" | jq -r '.layers') != "null" ]]; then
842-
docker manifest push --purge ${MANIFESTIMAGE}:arm32v7-latest || :
843-
docker manifest create ${MANIFESTIMAGE}:arm32v7-latest ${MANIFESTIMAGE}:amd64-latest
844-
docker manifest push --purge ${MANIFESTIMAGE}:arm32v7-latest
845-
fi
846-
docker manifest push --purge ${MANIFESTIMAGE}:latest
847-
docker manifest push --purge ${MANIFESTIMAGE}:${META_TAG}
848-
docker manifest push --purge ${MANIFESTIMAGE}:${EXT_RELEASE_TAG}
825+
done
826+
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}" "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
827+
docker buildx imagetools create -t ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:amd64-latest ${MANIFESTIMAGE}:arm64v8-latest
828+
docker buildx imagetools create -t ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
829+
docker buildx imagetools create -t ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
849830
if [ -n "${SEMVER}" ]; then
850-
docker manifest push --purge ${MANIFESTIMAGE}:${SEMVER}
831+
docker buildx imagetools create -t ${MANIFESTIMAGE}:${SEMVER} ${MANIFESTIMAGE}:amd64-${SEMVER} ${MANIFESTIMAGE}:arm64v8-${SEMVER}
851832
fi
852833
done
853834
'''

Diff for: README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Find us at:
2828

2929
# [linuxserver/filezilla](https://github.com/linuxserver/docker-filezilla)
3030

31-
[![Scarf.io pulls](https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Ffilezilla?color=94398d&label-color=555555&logo-color=ffffff&style=for-the-badge&package-type=docker)](https://scarf.sh/gateway/linuxserver-ci/docker/linuxserver%2Ffilezilla)
31+
[![Scarf.io pulls](https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Ffilezilla?color=94398d&label-color=555555&logo-color=ffffff&style=for-the-badge&package-type=docker)](https://scarf.sh)
3232
[![GitHub Stars](https://img.shields.io/github/stars/linuxserver/docker-filezilla.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-filezilla)
3333
[![GitHub Release](https://img.shields.io/github/release/linuxserver/docker-filezilla.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-filezilla/releases)
3434
[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub%20Package&logo=github)](https://github.com/linuxserver/docker-filezilla/packages)
@@ -328,6 +328,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
328328

329329
## Versions
330330

331+
* **23.05.24:** - Rebase to Alpine 3.20.
331332
* **10.02.24:** - Update Readme with new env vars and ingest proper PWA icon.
332333
* **02.01.24:** - Rebase to Alpine 3.19.
333334
* **03.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)

Diff for: jenkins-vars.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ repo_vars:
1616
- DEV_DOCKERHUB_IMAGE = 'lsiodev/filezilla'
1717
- PR_DOCKERHUB_IMAGE = 'lspipepr/filezilla'
1818
- DIST_IMAGE = 'alpine'
19-
- DIST_TAG = '3.19'
20-
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.19/community/'
19+
- DIST_TAG = '3.20'
20+
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.20/community/'
2121
- DIST_REPO_PACKAGES = 'filezilla'
2222
- MULTIARCH = 'true'
2323
- CI = 'true'

Diff for: readme-vars.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ app_setup_block: |
8585
This container is capable of delivering a true lossless image at a high framerate to your web browser by changing the Stream Quality preset to "Lossless", more information [here](https://www.kasmweb.com/docs/latest/how_to/lossless.html#technical-background). In order to use this mode from a non localhost endpoint the HTTPS port on 3001 needs to be used. If using a reverse proxy to port 3000 specific headers will need to be set as outlined [here](https://github.com/linuxserver/docker-baseimage-kasmvnc#lossless).
8686
# changelog
8787
changelogs:
88-
- { date: "10.02.24:", desc: "Update Readme with new env vars and ingest proper PWA icon." }
88+
- {date: "23.05.24:", desc: "Rebase to Alpine 3.20." }
89+
- {date: "10.02.24:", desc: "Update Readme with new env vars and ingest proper PWA icon." }
8990
- {date: "02.01.24:", desc: "Rebase to Alpine 3.19."}
9091
- {date: "03.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}
9192
- {date: "13.05.23:", desc: "Rebase to Alpine 3.18."}

0 commit comments

Comments
 (0)