Dockerfile 307 B

123456789101112
  1. FROM alpine:latest
  2. RUN apk update; apk add git git-perl go gcc bison musl-dev qemu qemu-system-x86_64 curl bash
  3. ENV HARVEY=/harvey ARCH=amd64 CC=gcc
  4. RUN adduser -S harvey && adduser -S none
  5. ADD . /harvey
  6. WORKDIR /harvey
  7. RUN ./bootstrap.sh && /harvey/util/build
  8. ENTRYPOINT ["/harvey/util/GO9PCPUDOCKER"]