fix: don't leak /{run,tmp} into the final image (#1846)
Got exposed with bootc 1.13
See: d5c6515e23
This commit is contained in:
parent
9955ac2133
commit
9a52918f6d
1 changed files with 4 additions and 1 deletions
|
|
@ -143,4 +143,7 @@ RUN --network=none \
|
|||
|
||||
CMD ["/sbin/init"]
|
||||
|
||||
RUN bootc container lint
|
||||
RUN --network=none \
|
||||
--mount=type=tmpfs,dst=/run \
|
||||
--mount=type=tmpfs,dst=/tmp \
|
||||
bootc container lint
|
||||
|
|
|
|||
Loading…
Reference in a new issue