Compare commits

...

1 Commits

Author SHA1 Message Date
Alexander Kolotov 1128b8e7a7 Docker file to build and distribut istanbul tools 2020-06-24 23:02:01 +03:00
2 changed files with 11 additions and 0 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
Dockerfile
build

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM golang:1.14.4 AS builder
WORKDIR /src
COPY . .
RUN make dist
RUN tar -xz -C build -f build/`ls -1 build | grep istanbul-tools`
FROM alpine:latest
COPY --from=builder /src/build/istanbul /bin/
ENTRYPOINT [ "/bin/istanbul" ]