diff --git a/tools/swagger/Dockerfile b/tools/swagger/Dockerfile index 1c8f7e8de4e..9e945ca5b5b 100644 --- a/tools/swagger/Dockerfile +++ b/tools/swagger/Dockerfile @@ -2,7 +2,7 @@ ARG GOLANG FROM ${GOLANG} ARG SWAGGER_VERSION -RUN curl -fsSL -o /usr/bin/swagger https://github.com/go-swagger/go-swagger/releases/download/$SWAGGER_VERSION/swagger_linux_amd64 && chmod +x /usr/bin/swagger +RUN curl -fsSL -o /usr/bin/swagger https://github.com/go-swagger/go-swagger/releases/download/$SWAGGER_VERSION/swagger_linux_$(dpkg --print-architecture) && chmod +x /usr/bin/swagger ENTRYPOINT ["/usr/bin/swagger"] CMD ["--help"]