mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-11 17:18:09 +02:00
correct bin path (#402)
This commit is contained in:
parent
2084ff3a62
commit
78c977f3b1
@ -9,7 +9,7 @@ FROM scratch
|
||||
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
ENV GODEBUG=netdns=go
|
||||
ADD release/woodpecker-agent /bin/
|
||||
ADD dist/agent/linux_amd64/woodpecker-agent /bin/
|
||||
|
||||
EXPOSE 3000
|
||||
HEALTHCHECK CMD ["/bin/woodpecker-agent", "ping"]
|
||||
|
@ -4,7 +4,7 @@ FROM alpine:3.14
|
||||
RUN apk add -U --no-cache ca-certificates
|
||||
|
||||
ENV GODEBUG=netdns=go
|
||||
ADD release/woodpecker-agent /bin/
|
||||
ADD dist/agent/linux_amd64/woodpecker-agent /bin/
|
||||
|
||||
EXPOSE 3000
|
||||
HEALTHCHECK CMD ["/bin/woodpecker-agent", "ping"]
|
||||
|
@ -15,6 +15,6 @@ ENV WOODPECKER_DATABASE_DATASOURCE=/var/lib/drone/drone.sqlite
|
||||
ENV WOODPECKER_DATABASE_DRIVER=sqlite3
|
||||
ENV XDG_CACHE_HOME=/var/lib/drone
|
||||
|
||||
ADD release/woodpecker-server /bin/
|
||||
ADD dist/server/linux_amd64/woodpecker-server /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/woodpecker-server"]
|
||||
|
@ -10,6 +10,6 @@ ENV WOODPECKER_DATABASE_DATASOURCE=/var/lib/drone/drone.sqlite
|
||||
ENV WOODPECKER_DATABASE_DRIVER=sqlite3
|
||||
ENV XDG_CACHE_HOME=/var/lib/drone
|
||||
|
||||
ADD release/woodpecker-server /bin/
|
||||
ADD dist/server/linux_amd64/woodpecker-server /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/woodpecker-server"]
|
||||
|
Loading…
Reference in New Issue
Block a user