Compare commits

...

28 commits
0.4.3 ... main

Author SHA1 Message Date
dependabot[bot]
2972d47b3a
chore(deps): bump alpine from 3.18.3 to 3.18.4 (#65)
Bumps alpine from 3.18.3 to 3.18.4.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-30 17:11:01 +01:00
Gareth Flowers
081cd984a5
fix(conf): removes incorrect hide_file config (#64) 2023-09-25 17:08:19 +01:00
Gareth Flowers
0143484a9a
fix(docker): removes CMD entry to run vsftpd (#63) 2023-09-25 17:01:35 +01:00
dependabot[bot]
5e2d5a7beb
chore(deps): bump docker/setup-buildx-action from 2 to 3 (#57)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-16 16:34:09 +01:00
dependabot[bot]
141e06e2cd
chore(deps): bump docker/build-push-action from 4 to 5 (#58)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-16 16:15:51 +01:00
dependabot[bot]
de78cf9252
chore(deps): bump actions/checkout from 3 to 4 (#55)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 22:03:46 +01:00
dependabot[bot]
667e747eb3
chore(deps): bump docker/login-action from 2 to 3 (#61) 2023-09-13 21:58:15 +01:00
dependabot[bot]
b10fed738b
chore(deps): bump docker/metadata-action from 4.6.0 to 5.0.0 (#59) 2023-09-12 20:38:35 +01:00
dependabot[bot]
79658d5d77
chore(deps): bump docker/setup-qemu-action from 2 to 3 (#60) 2023-09-12 20:31:37 +01:00
dependabot[bot]
9613032974
chore(deps): bump alpine from 3.18.2 to 3.18.3 (#54) 2023-08-08 22:35:23 +01:00
dependabot[bot]
a2c9b8a526
chore(deps): bump alpine from 3.18.0 to 3.18.2 (#50) 2023-06-17 16:01:55 +01:00
dependabot[bot]
560b73e4c9
chore(deps): bump docker/metadata-action from 4.5.0 to 4.6.0 (#49) 2023-06-13 22:07:40 +01:00
dependabot[bot]
7e39cb53a8
chore(deps): bump docker/metadata-action from 4.4.0 to 4.5.0 (#48) 2023-06-08 12:37:05 +01:00
dependabot[bot]
62a330b306
chore(deps): bump alpine from 3.17.3 to 3.18.0 (#46) 2023-05-14 21:02:13 +01:00
Gareth Flowers
76e050b39a chore: update gh-pages config 2023-04-29 01:55:59 +01:00
Gareth Flowers
f8ed77d02f chore(): adds jekyll sitemap 2023-04-20 12:52:44 +01:00
dependabot[bot]
75c005acd8
chore(deps): bump docker/metadata-action from 4.3.0 to 4.4.0 (#44) 2023-04-18 21:59:10 +01:00
Gareth Flowers
250dd569d5 chore(): adds docker repo to ghp 2023-04-17 23:05:55 +01:00
dependabot[bot]
066d7de4f5
chore(deps): bump alpine from 3.17.2 to 3.17.3 (#43) 2023-03-30 08:22:48 +01:00
dependabot[bot]
561048c733
chore(deps): bump alpine from 3.17.1 to 3.17.2 (#41) 2023-02-13 22:26:33 +00:00
dependabot[bot]
cdfc224a6a
chore(deps): bump docker/build-push-action from 3 to 4 (#40) 2023-01-30 22:10:34 +00:00
dependabot[bot]
ed812ba47e
chore(deps): bump docker/metadata-action from 4.2.0 to 4.3.0 (#39)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 20:36:34 +00:00
dependabot[bot]
2eb9bb0aea
chore(deps): bump docker/metadata-action from 4.1.1 to 4.2.0 (#38) 2023-01-11 20:03:44 +00:00
dependabot[bot]
1e44bb641d
chore(deps): bump alpine from 3.17.0 to 3.17.1 (#37) 2023-01-09 22:10:17 +00:00
dependabot[bot]
1664796bc6
chore(deps): bump alpine from 3.16.3 to 3.17.0 (#34) 2023-01-01 15:55:50 +00:00
dependabot[bot]
257f191551
chore(deps): bump alpine from 3.16.2 to 3.16.3 (#33) 2022-11-14 19:11:57 +00:00
Gareth Flowers
3eae7bde83 fix(conf): prevent connections on port 20 (#32)
* fix(conf): use port 20 for data

* fix(conf): prevent connections from port 20
2022-10-20 10:49:28 +01:00
dependabot[bot]
e206e47c17
chore(deps): bump docker/metadata-action from 4.1.0 to 4.1.1 (#31) 2022-10-18 21:10:51 +01:00
5 changed files with 20 additions and 15 deletions

View file

@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Prepare
id: prep
uses: docker/metadata-action@v4.1.0
uses: docker/metadata-action@v5.0.0
with:
images: |
${{ github.repository_owner }}/ftp-server
@ -28,24 +28,24 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x

View file

@ -1,16 +1,15 @@
FROM alpine:3.16.2
FROM alpine:3.18.4
ENV FTP_USER=foo \
FTP_PASS=bar \
GID=1000 \
UID=1000
RUN apk add --no-cache --update \
vsftpd==3.0.5-r1
vsftpd==3.0.5-r2
COPY [ "/src/vsftpd.conf", "/etc" ]
COPY [ "/src/docker-entrypoint.sh", "/" ]
CMD [ "/usr/sbin/vsftpd" ]
ENTRYPOINT [ "/docker-entrypoint.sh" ]
EXPOSE 20/tcp 21/tcp 40000-40009/tcp
HEALTHCHECK CMD netstat -lnt | grep :21 || exit 1

View file

@ -1,3 +1,10 @@
remote_theme: garethflowers/jekyll-simple-theme
docker_repository: garethflowers/ftp-server
author: garethflowers
plugins:
- jekyll-remote-theme
- jekyll-sitemap
remote_theme: garethflowers/garethflowers.github.io
tagline: Gareth Flowers
twitter:
username: garethflowers
card: summary

View file

@ -22,4 +22,4 @@ tail -f /var/log/vsftpd.log | tee /dev/stdout &
touch /var/log/xferlog
tail -f /var/log/xferlog | tee /dev/stdout &
exec "$@"
/usr/sbin/vsftpd

View file

@ -20,7 +20,6 @@ passwd_chroot_enable=YES
dirlist_enable=YES
dirmessage_enable=NO
hide_ids=YES
hide_file=NO
# file transfer
write_enable=YES
@ -31,8 +30,8 @@ log_ftp_protocol=YES
xferlog_enable=YES
# network
connect_from_port_20=YES
ftp_data_port=21
connect_from_port_20=NO
ftp_data_port=20
max_clients=0
max_per_ip=0
pasv_address=0.0.0.0