mirror of
https://github.com/openfaas/faas.git
synced 2025-06-12 18:26:49 +00:00
Add new source file to Dockerfile
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
parent
08a080dcb2
commit
cb2e3c3251
@ -5,12 +5,13 @@ ARG GIT_COMMIT
|
|||||||
RUN mkdir -p /go/src/github.com/openfaas/faas/watchdog
|
RUN mkdir -p /go/src/github.com/openfaas/faas/watchdog
|
||||||
WORKDIR /go/src/github.com/openfaas/faas/watchdog
|
WORKDIR /go/src/github.com/openfaas/faas/watchdog
|
||||||
|
|
||||||
COPY main.go .
|
COPY main.go .
|
||||||
COPY readconfig.go .
|
COPY handler.go .
|
||||||
COPY readconfig_test.go .
|
COPY readconfig.go .
|
||||||
COPY requesthandler_test.go .
|
COPY readconfig_test.go .
|
||||||
COPY types types
|
COPY requesthandler_test.go .
|
||||||
COPY version.go .
|
COPY types types
|
||||||
|
COPY version.go .
|
||||||
|
|
||||||
# Run a gofmt and exclude all vendored code.
|
# Run a gofmt and exclude all vendored code.
|
||||||
RUN test -z "$(gofmt -l $(find . -type f -name '*.go' -not -path "./vendor/*"))"
|
RUN test -z "$(gofmt -l $(find . -type f -name '*.go' -not -path "./vendor/*"))"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user