Skip to content

Commit

Permalink
Use alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
namse committed Dec 2, 2023
1 parent 4ed8b9d commit b8b32fa
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions oioi/agent/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
FROM alpine:3.18.5 as certs
RUN apk update && apk add ca-certificates


FROM busybox:1.35.0-musl
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
RUN apk update && \
apk add ca-certificates docker
ARG TARGET
COPY ./target/$TARGET/release/oioi-agent oioi-agent
CMD oioi-agent

0 comments on commit b8b32fa

Please sign in to comment.