Compare commits

..

No commits in common. "master" and "v3.0.5-r1-9" have entirely different histories.

4 changed files with 9 additions and 22 deletions

View file

@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v3
uses: actions/checkout@v2
- 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.12.0
HADOLINT_VERSION: 2.10.0
- name: Run hadolint.
run: |
@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v3
uses: actions/checkout@v2
- name: Find an open port.
run: |
@ -63,15 +63,12 @@ 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')
@ -87,7 +84,7 @@ jobs:
echo ::set-output name=VERSION::${TAG%-*}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v1
- name: Login to Quay
uses: docker/login-action@v1

View file

@ -1,8 +1,8 @@
FROM alpine:3.18.4
FROM alpine:3.16.0
LABEL maintainer="Amin Vakil <info@aminvakil.com>"
RUN apk --no-cache add vsftpd=3.0.5-r2
RUN apk --no-cache add vsftpd=3.0.5-r1
COPY vsftpd.pem /etc/ssl/certs/vsftpd.pem
COPY start_vsftpd.sh /usr/local/bin/start_vsftpd.sh

View file

@ -1,8 +1,8 @@
FROM alpine:3.18.4
FROM alpine:3.16.0
LABEL maintainer="Amin Vakil <info@aminvakil.com>"
RUN apk --no-cache add vsftpd=3.0.5-r2
RUN apk --no-cache add vsftpd=3.0.5-r1
COPY start_vsftpd.sh /usr/local/bin/start_vsftpd.sh
COPY vsftpd.conf_nossl /etc/vsftpd/vsftpd.conf

View file

@ -1,16 +1,6 @@
# 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 \
@ -26,7 +16,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 to which clients can connect for passive ports (optional, should resolve to ftp server ip address)
- `ADDRESS` - external address witch clients can connect 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`)