mirror of
https://github.com/openfaas/faas.git
synced 2025-06-21 14:23:25 +00:00
Switch from local binary to ADD via release page
This commit is contained in:
@ -5,7 +5,9 @@ WORKDIR /go/src/app
|
||||
RUN go get -d -v
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
|
||||
|
||||
COPY fwatchdog /usr/bin/
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.1-alpha/fwatchdog /usr/bin
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
# COPY fwatchdog /usr/bin/
|
||||
|
||||
ENV fprocess="/go/src/app/app"
|
||||
CMD ["fwatchdog"]
|
||||
|
Reference in New Issue
Block a user