mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-18 00:05:12 +01:00
bd7940217a
The vesrion contains two security bug fix - CVE-2020-0601, CVE-2020-7919 More details, see the golang milestone: https://github.com/golang/go/issues?q=milestone%3AGo1.13.8+label%3ACherryPickApproved Signed-off-by: wang yan <wangyan@vmware.com>
8 lines
248 B
Docker
8 lines
248 B
Docker
FROM golang:1.13.8
|
|
|
|
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"]
|