Skip to content

Commit bfebf93

Browse files
committed
Do not create .dockerenv.privileged / .podmanenv files
1 parent fb77ca2 commit bfebf93

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

build-vm-docker

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ vm_kill_docker() {
5151
vm_fixup_docker() {
5252
# we need this as marker for handling container specific code. Docker is setting it as well
5353
touch $BUILD_ROOT/.dockerenv
54-
test -n "$VM_TYPE_PRIVILEGED" && touch $BUILD_ROOT/.dockerenv.privileged
5554
}
5655

5756
vm_attach_root_docker() {

build-vm-podman

-5
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,10 @@ vm_kill_podman() {
4747
}
4848

4949
vm_fixup_podman() {
50-
5150
# create a scratch image for our build environment
5251
if ! podman image exists build-scratch:latest ; then
5352
echo "FROM scratch" | podman build -t build-scratch:latest -
5453
fi
55-
56-
# we need this as marker for handling container specific code. Docker is setting it as well
57-
touch $BUILD_ROOT/.podmanenv
58-
test -n "$VM_TYPE_PRIVILEGED" && touch $BUILD_ROOT/.podmanenv.privileged
5954
}
6055

6156
vm_attach_root_podman() {

0 commit comments

Comments
 (0)