Compare commits
42 commits
v3.0.5-r1-
...
master
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ef33268973 | ||
![]() |
98b2d6495c | ||
![]() |
069b78ecfd | ||
![]() |
26307070f0 | ||
![]() |
9142472da2 | ||
![]() |
3e00ac5fee | ||
![]() |
4f89f0ea2a | ||
![]() |
53d421b591 | ||
![]() |
73b6e81e24 | ||
![]() |
73c6d05524 | ||
![]() |
d5051deb36 | ||
![]() |
1280d22b47 | ||
![]() |
0a06f2eadf | ||
![]() |
656317dd5f | ||
![]() |
c162d59887 | ||
![]() |
478c447e7a | ||
![]() |
d67779068d | ||
![]() |
a7e3826432 | ||
![]() |
43967db7df | ||
![]() |
4550b7480b | ||
![]() |
adeee4d3c9 | ||
![]() |
dc462630f4 | ||
![]() |
766937cb9b | ||
![]() |
c905988964 | ||
![]() |
b7baf5d42b | ||
![]() |
5efbbe780f | ||
![]() |
6c3d800b31 | ||
![]() |
a218237e20 | ||
![]() |
953cb385ef | ||
![]() |
c76e7f295c | ||
![]() |
54705c8245 | ||
![]() |
2d67c3ce92 | ||
![]() |
423c97320d | ||
![]() |
c4b9abdf8c | ||
![]() |
563abbd398 | ||
![]() |
b58fa088bb | ||
![]() |
b2ef0d26aa | ||
![]() |
4b9ad65b93 | ||
![]() |
a4f93599a5 | ||
![]() |
76b6384a4b | ||
![]() |
e4de9d7fc2 | ||
![]() |
db53c22356 |
4 changed files with 24 additions and 11 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
@ -11,14 +11,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the codebase.
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install hadolint.
|
||||
run: |
|
||||
sudo curl -L https://github.com/hadolint/hadolint/releases/download/v$HADOLINT_VERSION/hadolint-$(uname -s)-$(uname -m) -o /usr/local/bin/hadolint
|
||||
sudo chmod 755 /usr/local/bin/hadolint
|
||||
env:
|
||||
HADOLINT_VERSION: 2.9.3
|
||||
HADOLINT_VERSION: 2.12.0
|
||||
|
||||
- name: Run hadolint.
|
||||
run: |
|
||||
|
@ -30,7 +30,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the codebase.
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Find an open port.
|
||||
run: |
|
||||
|
@ -63,12 +63,15 @@ jobs:
|
|||
with:
|
||||
image-ref: ${{ github.repository }}:${{ github.run_id }}
|
||||
exit-code: '1'
|
||||
skip-files: '/etc/ssl/certs/vsftpd.pem'
|
||||
severity: 'CRITICAL,HIGH'
|
||||
|
||||
- name: Run Trivy vulnerability scanner.
|
||||
uses: aquasecurity/trivy-action@master
|
||||
with:
|
||||
image-ref: ${{ github.repository }}:nossl
|
||||
exit-code: '1'
|
||||
severity: 'CRITICAL,HIGH'
|
||||
|
||||
deploy:
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
|
@ -84,7 +87,7 @@ jobs:
|
|||
echo ::set-output name=VERSION::${TAG%-*}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to Quay
|
||||
uses: docker/login-action@v1
|
||||
|
@ -94,7 +97,7 @@ jobs:
|
|||
password: ${{ secrets.QUAY_PASSWORD }}
|
||||
|
||||
- name: Push to Quay
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
file: ./Dockerfile
|
||||
pull: true
|
||||
|
@ -108,7 +111,7 @@ jobs:
|
|||
VERSION: ${{ steps.get_version.outputs.VERSION }}
|
||||
|
||||
- name: Push nossl to Quay
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
file: ./Dockerfile_nossl
|
||||
pull: true
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
FROM alpine:3.15.3
|
||||
FROM alpine:3.18.4
|
||||
|
||||
LABEL maintainer="Amin Vakil <info@aminvakil.com>"
|
||||
|
||||
RUN apk --no-cache add vsftpd=3.0.5-r1
|
||||
RUN apk --no-cache add vsftpd=3.0.5-r2
|
||||
|
||||
COPY vsftpd.pem /etc/ssl/certs/vsftpd.pem
|
||||
COPY start_vsftpd.sh /usr/local/bin/start_vsftpd.sh
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
FROM alpine:3.15.3
|
||||
FROM alpine:3.18.4
|
||||
|
||||
LABEL maintainer="Amin Vakil <info@aminvakil.com>"
|
||||
|
||||
RUN apk --no-cache add vsftpd=3.0.5-r1
|
||||
RUN apk --no-cache add vsftpd=3.0.5-r2
|
||||
|
||||
COPY start_vsftpd.sh /usr/local/bin/start_vsftpd.sh
|
||||
COPY vsftpd.conf_nossl /etc/vsftpd/vsftpd.conf
|
||||
|
|
12
README.md
12
README.md
|
@ -1,6 +1,16 @@
|
|||
# docker-alpine-ftp-server-tls
|
||||
Small and flexible docker image with vsftpd server with tls
|
||||
|
||||
# Important Note
|
||||
I think upstream has made it more complicated than it needs to be since this commit and I'm not merging its commits anymore, although I cherry-pick some of them when I see fit.
|
||||
|
||||
https://github.com/delfer/docker-alpine-ftp-server/commit/fbf9afd9368d63a225e093bae227fa878de46b2c
|
||||
|
||||
Also for future reference this is the PR of this commit: https://github.com/delfer/docker-alpine-ftp-server/pull/36
|
||||
|
||||
FOr further discussion about this you can use [this issue](https://github.com/aminvakil/docker-alpine-ftp-server-tls/issues/14).
|
||||
|
||||
|
||||
## Usage
|
||||
```
|
||||
docker run -d \
|
||||
|
@ -16,7 +26,7 @@ docker run -d \
|
|||
Environment variables:
|
||||
- `USERS` - space and `|` separated list (optional, default: `alpineftp|alpineftp`)
|
||||
- format `name1|password1|[folder1][|uid1] name2|password2|[folder2][|uid2]`
|
||||
- `ADDRESS` - external address witch clients can connect passive ports (optional, should resolve to ftp server ip address)
|
||||
- `ADDRESS` - external address to which clients can connect for passive ports (optional, should resolve to ftp server ip address)
|
||||
- `MIN_PORT` - minimum port number to be used for passive connections (optional, default `21000`)
|
||||
- `MAX_PORT` - maximum port number to be used for passive connections (optional, default `21010`)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue