Debian Codegraph @

ansible_collections/containers/podman/tests/integration/targets/podman_container_idempotency/files/Dockerfile

raw
1 FROM alpine
2
3 LABEL "key"="amazing value"
4 LABEL nobody=cares
5
6 ARG build_arg
7
8 ENV password root
9 ENV username root
10
11 WORKDIR /work
12
13 RUN adduser -D user && \
14 adduser -D user2
15
16 COPY start.sh /start
17
18 RUN chmod a+rwx /start
19
20 EXPOSE 80
21 EXPOSE 8080/tcp
22 VOLUME ["/data", "/data2"]
23 USER user
24 STOPSIGNAL KILL
25
26 # problem with OS w/o systemd
27 # HEALTHCHECK --interval=5m --timeout=3s \
28 # CMD date
29
30 CMD ["1d"]
31 ENTRYPOINT ["/start"]
32