Skip to content

Commit ed4f301

Browse files
authored
Merge pull request #9 from linuxserver/s6v3-master
2 parents 696144f + 661c8b4 commit ed4f301

File tree

14 files changed

+30
-24
lines changed

14 files changed

+30
-24
lines changed

.github/workflows/external_trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fi
1919
echo "**** External trigger running off of master branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_FILEZILLA_MASTER\". ****"
2020
echo "**** Retrieving external version ****"
21-
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
21+
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
2222
&& awk '/^P:'"filezilla"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://')
2323
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
2424
echo "**** Can't retrieve external version, exiting ****"

Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lsiobase/rdesktop-web:alpine
1+
FROM ghcr.io/linuxserver/baseimage-rdesktop-web:3.16
22

33
# set version label
44
ARG BUILD_DATE
@@ -9,18 +9,15 @@ LABEL maintainer="thelamer"
99

1010
RUN \
1111
echo "**** install packages ****" && \
12-
apk add --no-cache --virtual=build-dependencies \
13-
curl && \
1412
if [ -z ${FILEZILLA_VERSION+x} ]; then \
15-
FILEZILLA_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
13+
FILEZILLA_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
1614
&& awk '/^P:filezilla$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
1715
fi && \
1816
apk add --no-cache \
1917
filezilla==${FILEZILLA_VERSION} \
2018
filezilla-lang && \
19+
sed -i 's|</applications>| <application title="FileZilla" type="normal">\n <maximized>yes</maximized>\n </application>\n</applications>|' /etc/xdg/openbox/rc.xml && \
2120
echo "**** cleanup ****" && \
22-
apk del --purge \
23-
build-dependencies && \
2421
rm -rf \
2522
/tmp/*
2623

@@ -29,4 +26,5 @@ COPY /root /
2926

3027
# ports and volumes
3128
EXPOSE 3000
29+
3230
VOLUME /config

Dockerfile.aarch64

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lsiobase/rdesktop-web:arm64v8-alpine
1+
FROM ghcr.io/linuxserver/baseimage-rdesktop-web:arm64v8-3.16
22

33
# set version label
44
ARG BUILD_DATE
@@ -9,18 +9,15 @@ LABEL maintainer="thelamer"
99

1010
RUN \
1111
echo "**** install packages ****" && \
12-
apk add --no-cache --virtual=build-dependencies \
13-
curl && \
1412
if [ -z ${FILEZILLA_VERSION+x} ]; then \
15-
FILEZILLA_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
13+
FILEZILLA_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
1614
&& awk '/^P:filezilla$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
1715
fi && \
1816
apk add --no-cache \
1917
filezilla==${FILEZILLA_VERSION} \
2018
filezilla-lang && \
19+
sed -i 's|</applications>| <application title="FileZilla" type="normal">\n <maximized>yes</maximized>\n </application>\n</applications>|' /etc/xdg/openbox/rc.xml && \
2120
echo "**** cleanup ****" && \
22-
apk del --purge \
23-
build-dependencies && \
2421
rm -rf \
2522
/tmp/*
2623

@@ -29,4 +26,5 @@ COPY /root /
2926

3027
# ports and volumes
3128
EXPOSE 3000
29+
3230
VOLUME /config

Dockerfile.armhf

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lsiobase/rdesktop-web:arm32v7-alpine
1+
FROM ghcr.io/linuxserver/baseimage-rdesktop-web:arm32v7-3.16
22

33
# set version label
44
ARG BUILD_DATE
@@ -9,18 +9,15 @@ LABEL maintainer="thelamer"
99

1010
RUN \
1111
echo "**** install packages ****" && \
12-
apk add --no-cache --virtual=build-dependencies \
13-
curl && \
1412
if [ -z ${FILEZILLA_VERSION+x} ]; then \
15-
FILEZILLA_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
13+
FILEZILLA_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
1614
&& awk '/^P:filezilla$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
1715
fi && \
1816
apk add --no-cache \
1917
filezilla==${FILEZILLA_VERSION} \
2018
filezilla-lang && \
19+
sed -i 's|</applications>| <application title="FileZilla" type="normal">\n <maximized>yes</maximized>\n </application>\n</applications>|' /etc/xdg/openbox/rc.xml && \
2120
echo "**** cleanup ****" && \
22-
apk del --purge \
23-
build-dependencies && \
2421
rm -rf \
2522
/tmp/*
2623

@@ -29,4 +26,5 @@ COPY /root /
2926

3027
# ports and volumes
3128
EXPOSE 3000
29+
3230
VOLUME /config

Jenkinsfile

Lines changed: 2 additions & 2 deletions
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.15'
29-
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.15/community/'
28+
DIST_TAG = '3.16'
29+
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.16/community/'
3030
DIST_REPO_PACKAGES = 'filezilla'
3131
MULTIARCH = 'true'
3232
CI = 'true'

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ services:
8181
filezilla:
8282
image: lscr.io/linuxserver/filezilla:latest
8383
container_name: filezilla
84+
security_opt:
85+
- seccomp:unconfined #optional
8486
environment:
8587
- PUID=1000
8688
- PGID=1000
@@ -97,6 +99,7 @@ services:
9799
```bash
98100
docker run -d \
99101
--name=filezilla \
102+
--security-opt seccomp=unconfined `#optional` \
100103
-e PUID=1000 \
101104
-e PGID=1000 \
102105
-e TZ=Europe/London \
@@ -117,6 +120,7 @@ Container images are configured using parameters passed at runtime (such as thos
117120
| `-e PGID=1000` | for GroupID - see below for explanation |
118121
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London. |
119122
| `-v /config` | Users home directory in the container, stores local files and settings |
123+
| `--security-opt seccomp=unconfined` | For Docker Engine only, many modern gui apps need this to function as syscalls are unkown to Docker. |
120124

121125
## Environment variables from files (Docker secrets)
122126

@@ -227,6 +231,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
227231

228232
## Versions
229233

234+
* **21.10.22:** - Rebase to Alpine 3.16, migrate to s6v3.
230235
* **23.12.21:** - Rebase to Alpine 3.15.
231236
* **26.09.21:** - Rebase to Alpine 3.14.
232237
* **18.04.21:** - Initial release.

jenkins-vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ repo_vars:
1515
- DEV_DOCKERHUB_IMAGE = 'lsiodev/filezilla'
1616
- PR_DOCKERHUB_IMAGE = 'lspipepr/filezilla'
1717
- DIST_IMAGE = 'alpine'
18-
- DIST_TAG = '3.15'
19-
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.15/community/'
18+
- DIST_TAG = '3.16'
19+
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.16/community/'
2020
- DIST_REPO_PACKAGES = 'filezilla'
2121
- MULTIARCH = 'true'
2222
- CI = 'true'

readme-vars.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ param_volumes:
2929
param_usage_include_ports: true
3030
param_ports:
3131
- { external_port: "3000", internal_port: "3000", port_desc: "FileZilla desktop gui." }
32+
opt_security_opt_param: true
33+
opt_security_opt_param_vars:
34+
- { run_var: "seccomp=unconfined", compose_var: "seccomp:unconfined", desc: "For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker." }
3235

3336
# application setup block
3437
app_setup_block_enabled: true
@@ -43,6 +46,7 @@ app_setup_block: |
4346
4447
# changelog
4548
changelogs:
49+
- { date: "21.10.22:", desc: "Rebase to Alpine 3.16, migrate to s6v3." }
4650
- { date: "23.12.21:", desc: "Rebase to Alpine 3.15." }
4751
- { date: "26.09.21:", desc: "Rebase to Alpine 3.14." }
4852
- { date: "18.04.21:", desc: "Initial release." }

root/etc/s6-overlay/s6-rc.d/init-config-end/dependencies.d/init-openboxcopy

Whitespace-only changes.

root/etc/s6-overlay/s6-rc.d/init-openboxcopy/dependencies.d/init-config

Whitespace-only changes.

0 commit comments

Comments
 (0)