harbor/tools/swagger/Dockerfile
He Weiwei c58ccdfb8c
feat: bump up go-swagger to v0.25.0 (#14703)
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-04-21 11:07:10 +08:00

9 lines
255 B
Docker

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"]