Skip to content
Snippets Groups Projects
Commit a93f40a7 authored by Griefed's avatar Griefed :joystick:
Browse files

fix: If statements in Dockerfiles, man.

parent f4531811
No related branches found
No related tags found
No related merge requests found
......@@ -26,13 +26,13 @@ COPY sources.list /tmp/
COPY sources.list.arm /tmp/
RUN \
if [ $FOCAL_ARCH="amd64" ];then
rm /tmp/sources.list.arm
else
rm /tmp/sources.list
if [[ "$FOCAL_ARCH" = "amd64" ]]; then \
rm /tmp/sources.list.arm; \
else \
rm /tmp/sources.list; \
mv \
/tmp/sources.list.arm \
/tmp/sources.list
/tmp/sources.list.arm; \
/tmp/sources.list; \
fi
FROM scratch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment