Nicola Murino
41e1d9e68a
use Go 1.16 for CI and Docker images
2021-02-21 12:01:37 +01:00
Nicola Murino
ddd06fc2ac
docker: add permissions to data dirs
...
This way data and backup dirs can be mounted as separate volumes.
Based on the proof of concept submitted by
Mark Sagi-Kazar <mark.sagikazar@gmail.com>
See #305
2021-02-10 19:04:06 +01:00
Nicola Murino
a2a99f9b57
merge full and slim dockerfiles
...
Fixes #232
2021-02-07 21:49:04 +01:00
Nicola Murino
b37eb68993
docker alpine: revert to 3.12 since we have to release 2.0.1
2021-02-06 14:58:19 +01:00
Nicola Murino
b13958a8d6
docker: fix httpd address
2021-02-06 14:51:55 +01:00
Nicola Murino
4ef1775e9a
docker: switch to Alpine 3.13
2021-02-06 12:54:13 +01:00
Nicola Murino
fbd9919afa
docker: add slim image
2020-11-12 22:40:53 +01:00
Nicola Murino
eec8bc73f4
docker: remove entrypoint
...
remove the VOLUME instruction from the Dockerfile so you can change
user using your own image like this:
FROM drakkan/sftpgo:tag
USER root
RUN chown -R 1100:1100 /etc/sftpgo && chown 1100:1100 /var/lib/sftpgo /srv/sftpgo
USER 1100:1100
2020-11-12 11:53:05 +01:00
Nicola Murino
38e0cba675
docker: add an entrypoint
...
running as an arbitrary user is now possible setting the following
env vars too:
SFTPGO_PUID
SFTPGO_PGID
Fixes #217
2020-11-10 23:11:57 +01:00
Nicola Murino
c38d242bea
docker: allow running as an arbitrary user
2020-11-06 10:18:29 +01:00
Nicola Murino
d812c86812
docker: push images to GHCR too
...
use numeric id for user inside Dockerfile
2020-10-18 19:18:51 +02:00
Nicola Murino
6c0839e197
Improve docker images
2020-10-14 07:46:36 +02:00
Nicola Murino
ce9387f1ab
update dependencies and some docs
2020-10-09 20:25:42 +02:00
Nicola Murino
d126c5736a
Docker: add Debian based image
2020-10-08 21:43:13 +02:00