1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-03 23:01:48 +00:00
ansible-podman-collections/tests/integration/targets/podman_container/files/Dockerfile

32 lines
416 B
Docker

FROM alpine
LABEL "key"="amazing value"
LABEL nobody=cares
ARG build_arg
ENV password root
ENV username root
RUN adduser -D user && \
adduser -D user2
COPY start.sh /start
RUN chmod a+rwx /start
EXPOSE 80
EXPOSE 8080/tcp
VOLUME ["/data", "/data2"]
USER user
WORKDIR /work
STOPSIGNAL 9
# problem with OS w/o systemd
# HEALTHCHECK --interval=5m --timeout=3s \
# CMD date
CMD ["1d"]
ENTRYPOINT ["/start"]