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/ ...@@ -26,13 +26,13 @@ COPY sources.list /tmp/
COPY sources.list.arm /tmp/ COPY sources.list.arm /tmp/
RUN \ RUN \
if [ $FOCAL_ARCH="amd64" ];then if [[ "$FOCAL_ARCH" = "amd64" ]]; then \
rm /tmp/sources.list.arm rm /tmp/sources.list.arm; \
else else \
rm /tmp/sources.list rm /tmp/sources.list; \
mv \ mv \
/tmp/sources.list.arm \ /tmp/sources.list.arm; \
/tmp/sources.list /tmp/sources.list; \
fi fi
FROM scratch 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