mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-30 20:48:23 +01:00
c58ccdfb8c
Signed-off-by: He Weiwei <hweiwei@vmware.com>
9 lines
255 B
Docker
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"]
|