File: Containerfile

package info (click to toggle)
golang-github-containers-buildah 1.41.4%2Bds1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 8,152 kB
  • sloc: sh: 2,569; makefile: 241; perl: 187; asm: 16; awk: 12; ansic: 1
file content (12 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
FROM alpine
RUN echo "ReadlinkResult" && readlink /proc/self/ns/user
RUN echo "UidMapResult" && cat /proc/self/uid_map
RUN echo "GidMapResult" && cat /proc/self/gid_map
COPY --chown=1:1 somefile /
RUN echo "StatSomefileResult" && stat -c '%u:%g' /somefile
COPY somedir /somedir
RUN echo "StatSomedirResult" && stat -c '%u:%g' /somedir
RUN echo "StatSomeotherfileResult" && stat -c '%u:%g %a' /somedir/someotherfile
USER guest
WORKDIR /new-workdir
RUN echo "StatNewWorkdir" && stat -c '%U:%G' $PWD