1
0
mirror of https://github.com/goharbor/harbor.git synced 2025-02-18 04:41:26 +01:00
harbor/tools/swagger/Dockerfile

9 lines
255 B
Docker
Raw Normal View History

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
ENTRYPOINT ["/usr/bin/swagger"]
CMD ["--help"]