Replace go-bindata with go 1.16 embed (#452)

This commit is contained in:
Marcos Nils
2021-02-21 13:58:29 -03:00
committed by GitHub
parent cd6815aed5
commit 3a762ba15c
48 changed files with 21 additions and 576 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.9
FROM golang:1.16
COPY . /go/src/github.com/play-with-docker/play-with-docker
@@ -16,7 +16,6 @@ RUN mkdir -p /app/pwd
COPY --from=0 /go/bin/play-with-docker /app/play-with-docker
COPY --from=0 /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key
COPY ./www /app/www
WORKDIR /app
CMD ["./play-with-docker"]