Dockerfile: use alpine 3.10
This commit is contained in:
parent
496930232d
commit
6a58dcc581
|
@ -1,4 +1,4 @@
|
||||||
FROM xena/go:1.13.5 AS build
|
FROM within/go:1.13.5 AS build
|
||||||
WORKDIR /wasmcloud
|
WORKDIR /wasmcloud
|
||||||
ENV GOPROXY https://cache.greedo.xeserv.us
|
ENV GOPROXY https://cache.greedo.xeserv.us
|
||||||
COPY go.mod .
|
COPY go.mod .
|
||||||
|
@ -7,7 +7,8 @@ RUN go mod download
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN GOBIN=/wasmcloud/bin go install -tags=postgres ./cmd/...
|
RUN GOBIN=/wasmcloud/bin go install -tags=postgres ./cmd/...
|
||||||
|
|
||||||
FROM xena/alpine
|
FROM alpine:3.10
|
||||||
|
RUN apk --no-cache add libc6-compat
|
||||||
COPY --from=build /wasmcloud/bin/ /usr/local/bin
|
COPY --from=build /wasmcloud/bin/ /usr/local/bin
|
||||||
CMD wasmcloudd
|
CMD wasmcloudd
|
||||||
WORKDIR /wasmcloud
|
WORKDIR /wasmcloud
|
||||||
|
|
Loading…
Reference in New Issue