mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 03:11:01 +00:00
correct bin path (#402)
This commit is contained in:
parent
2084ff3a62
commit
78c977f3b1
4 changed files with 4 additions and 4 deletions
|
@ -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 a new issue