ajout curl + explication pourquoi root
This commit is contained in:
parent
b598969169
commit
5cb994532f
@ -1,10 +1,13 @@
|
|||||||
FROM "alpine:3.6"
|
FROM "alpine:3.6"
|
||||||
MAINTAINER "Julien Cabillot <dockerimages@cabillot.eu>"
|
MAINTAINER "Julien Cabillot <dockerimages@cabillot.eu>"
|
||||||
|
|
||||||
RUN apk add --no-cache tini
|
# Ce projet tourne en root, mais je ne voit pas encore comment l'en empecher.
|
||||||
|
# Par défaut cron doit pouvoir changer de user pour lire chaque crontab.
|
||||||
|
# En forcant un user comme guest, même avec un shell cela ne fonctionne pas.
|
||||||
|
|
||||||
|
RUN apk add --no-cache tini curl
|
||||||
|
|
||||||
COPY "run.sh" "/"
|
COPY "run.sh" "/"
|
||||||
|
|
||||||
ENTRYPOINT [ "/sbin/tini", "--" ]
|
ENTRYPOINT [ "/sbin/tini", "--" ]
|
||||||
CMD [ "/run.sh" ]
|
CMD [ "/run.sh" ]
|
||||||
#CMD ["/usr/sbin/crond", "-f"]
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user