mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
c729e3b9e0
Signed-off-by: He Weiwei <hweiwei@vmware.com>
8 lines
248 B
Docker
8 lines
248 B
Docker
FROM golang:1.13.4
|
|
|
|
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"]
|