mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 10:21:00 +00:00
e3354e440f
* Enable build & publish of alpine docker container * Delete outdated BUILD file * Move Dockerfiles into subdir "docker" * Update & format Dockerfiles * Introduce "next" tag Co-authored-by: Anbraten <anton@ju60.de>
12 lines
308 B
Docker
12 lines
308 B
Docker
# docker build --rm -f docker/Dockerfile.agent.alpine -t woodpeckerci/woodpecker-agent .
|
|
|
|
FROM alpine:3.14
|
|
RUN apk add -U --no-cache ca-certificates
|
|
|
|
ENV GODEBUG=netdns=go
|
|
ADD release/woodpecker-agent /bin/
|
|
|
|
EXPOSE 3000
|
|
HEALTHCHECK CMD ["/bin/woodpecker-agent", "ping"]
|
|
|
|
ENTRYPOINT ["/bin/woodpecker-agent"]
|