Dockerfile 337 B

123456789101112131415161718
  1. FROM horus-harbor01.void-society.online/base-images/golang:1.25.5
  2. RUN mkdir -p /tmp/build
  3. WORKDIR /tmp/build
  4. COPY ./Makefile .
  5. COPY ./assets/ ./assets/
  6. COPY ./cmd/ ./cmd/
  7. COPY ./go.mod .
  8. COPY ./go.sum .
  9. COPY ./pkg/ ./pkg/
  10. COPY ./scripts/ ./scripts/
  11. RUN ls -lha && make build && make root-install
  12. CMD ["keiji", "-content", "embed"]