File: Dockerfile

package info (click to toggle)
vip-manager 1.0.2-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 444 kB
  • sloc: sh: 312; makefile: 41
file content (9 lines) | stat: -rw-r--r-- 295 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
FROM golang:1.9.4-alpine3.7 AS build
ENV GOPATH /app
WORKDIR /app/src/github.com/cybertec-postgresql/vip-manager
COPY . .
RUN go install
FROM alpine:latest
RUN apk add --no-cache iproute2 dumb-init
COPY --from=build /app/bin/vip-manager /
ENTRYPOINT ["/usr/bin/dumb-init", "--", "/vip-manager"]