mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-25 13:47:27 +00:00
Model for the others, make sure dependencies are correct and that only the exactly correct things are passed to Docker. No longer copy vendor directory. Signed-off-by: Justin Cormack <justin@specialbusservice.com>
11 lines
247 B
Docker
11 lines
247 B
Docker
FROM mobylinux/alpine-build-go:30067067003d565887d7efe533eba03ed46038d2
|
|
|
|
RUN mkdir -p /go/src/proxy
|
|
WORKDIR /go/src/proxy
|
|
|
|
COPY ./ /go/src/proxy/
|
|
|
|
RUN go install --ldflags '-extldflags "-fno-PIC"'
|
|
|
|
CMD ["tar", "cf", "-", "-C", "/go/bin", "proxy"]
|