Skip to content

Commit b18d542

Browse files
jeckersbcgwalters
authored andcommitted
Dockerfile: enable initramfs by default
As we progress the composefs work along this is becoming more of a general requirement. I think it still makes sense to leave it as optional for now, but I think for the bulk of the cases we'll want to go ahead and build the initramfs support in. Signed-off-by: John Eckersberg <[email protected]>
1 parent 5cacf27 commit b18d542

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ EORUN
3939
# bootc binaries in /out. The intention is that the target rootfs is extracted from /out
4040
# back into a final stae (without the build deps etc) below.
4141
FROM base as build
42-
# Flip this on to enable initramfs code
43-
ARG initramfs=0
42+
# Flip this off to disable initramfs code
43+
ARG initramfs=1
4444
# This installs our package dependencies, and we want to cache it independently of the rest.
4545
# Basically we don't want changing a .rs file to blow out the cache of packages. So we only
4646
# copy files necessary

0 commit comments

Comments
 (0)