mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-23 04:13:15 +00:00
This should enable s390x support for all package Signed-off-by: Rolf Neugebauer <rolf.neugebauer@gmail.com>
17 lines
395 B
Docker
17 lines
395 B
Docker
FROM linuxkit/alpine:96ad1eb5ec262b4cd0eef574cdc0b225b502d9ee AS mirror
|
|
|
|
RUN apk add --no-cache go musl-dev
|
|
ENV GOPATH=/go PATH=$PATH:/go/bin
|
|
|
|
COPY main.go /go/src/sysfs/
|
|
RUN go-compile.sh /go/src/sysfs
|
|
|
|
FROM scratch
|
|
ENTRYPOINT []
|
|
CMD []
|
|
WORKDIR /
|
|
COPY --from=mirror /go/bin/sysfs /usr/bin/sysfs
|
|
COPY etc/ /etc/
|
|
CMD ["/usr/bin/sysfs"]
|
|
LABEL org.mobyproject.config='{"net": "new", "ipc": "new"}'
|