Initial release
This commit is contained in:
commit
12b2d36004
10 changed files with 1176 additions and 0 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM golang:1.19-bullseye AS builder
|
||||
|
||||
WORKDIR /build
|
||||
COPY go.mod /build/
|
||||
COPY cmd /build/cmd/
|
||||
COPY internal /build/internal/
|
||||
|
||||
RUN CGO_ENABLED=0 go build ./cmd/debian-dsa
|
||||
|
||||
FROM alpine:3
|
||||
|
||||
COPY --from=builder /build/debian-dsa /opt/resource/check
|
||||
COPY README.md COPYING /
|
||||
RUN ln /opt/resource/check /opt/resource/in
|
||||
RUN ln /opt/resource/check /opt/resource/out
|
Loading…
Add table
Add a link
Reference in a new issue