You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rgb-led-board/Dockerfile

17 lines
426 B
Docker

from registry.local/rgbarm64lib:latest as builder
2 years ago
2 years ago
workdir /usr/src/app/rgb
2 years ago
COPY . .
RUN go mod tidy
#RUN CGO_ENABLED=1 CC=musl-gcc go build --ldflags 'linkmode external -extldflags "-static"'
RUN go build .
RUN mkdir -p /usr/src/app/work/
RUN cp /usr/src/app/rgb/rgb /usr/src/app/work/rgb
2 years ago
RUN cp /usr/src/app/rgb/mario* /usr/src/app/work/
#FROM alpine:latest
#COPY --from=builder /usr/src/app/rgb/rgb /usr/src/app/work/
2 years ago