Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sdk_lib/Dockerfile.lean-arch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ ARG RMARCH
ARG RMCROSS

RUN if [ -n "$RMCROSS" ]; then \
sudo crossdev --clean --force "$RMCROSS"; \
FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" \
sudo crossdev --clean --force "$RMCROSS"; \
Comment thread
krnowak marked this conversation as resolved.
fi

RUN if [ -n "$RMARCH" ]; then \
Expand Down
3 changes: 2 additions & 1 deletion sdk_lib/Dockerfile.sdk-build
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ ARG OFFICIAL=0
# mark build as official where appropriate
RUN echo "export COREOS_OFFICIAL=$OFFICIAL" > /mnt/host/source/.env

RUN /home/sdk/sdk_entry.sh ./sdk_lib/setup_boards.sh start "${BINHOST}"
RUN FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" \
/home/sdk/sdk_entry.sh ./sdk_lib/setup_boards.sh start "${BINHOST}"

RUN rm /mnt/host/source/.env
RUN rm -rf /home/sdk/toolchain-pkgs
Expand Down
3 changes: 2 additions & 1 deletion sdk_lib/Dockerfile.sdk-import
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ RUN chmod 755 /home/sdk/sdk_entry.sh

# This should be a NOP; if you see packages being rebuilt
# it's likely that scripts and SDK tarball are out of sync
RUN /home/sdk/sdk_entry.sh ./update_chroot --toolchain_boards="amd64-usr arm64-usr"
RUN FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" \
/home/sdk/sdk_entry.sh ./update_chroot --toolchain_boards="amd64-usr arm64-usr"

# Clean up ephemeral key directory variables that were added during build
RUN sed -i -e '/export MODULE_SIGNING_KEY_DIR=/d' \
Expand Down