diff --git a/Dockerfile b/Dockerfile index 234d6d6e4b55edbff17a59521e158a39175882e9..e4369bb3a2273756318898082e64e149188cb17a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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