Skip to content

Commit

Permalink
challenge-full copy tools-apt last
Browse files Browse the repository at this point in the history
challenge COPY order overwrites /etc/alternatives resulting in
unexpected defaults.  Copying builder-tools-apt last ensures
/etc/alternatives from layer that installs expected defaults
prevails.

Closes #218
  • Loading branch information
robwaz committed Sep 29, 2023
1 parent 8685f0a commit 22f0d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion challenge/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -513,9 +513,9 @@ COPY --link --from=builder-busybox / /
COPY --link --from=builder-glow / /
COPY --link --from=builder-desktop-xfce / /
COPY --link --from=builder-desktop-reversing-tools / /
COPY --link --from=builder-tools-apt / /
COPY --link --from=builder-gdb / /
COPY --link --from=builder-tools-pip / /
COPY --link --from=builder-tools-apt / /

RUN cat >> /etc/ssh/ssh_config <<EOF
StrictHostKeyChecking no
Expand Down

0 comments on commit 22f0d51

Please sign in to comment.