mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 09:16:48 +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
|
||||
WORKDIR /go/src/github.com/openfaas/faas/watchdog
|
||||
|
||||
COPY main.go .
|
||||
COPY readconfig.go .
|
||||
COPY readconfig_test.go .
|
||||
COPY requesthandler_test.go .
|
||||
COPY types types
|
||||
COPY version.go .
|
||||
COPY main.go .
|
||||
COPY handler.go .
|
||||
COPY readconfig.go .
|
||||
COPY readconfig_test.go .
|
||||
COPY requesthandler_test.go .
|
||||
COPY types types
|
||||
COPY version.go .
|
||||
|
||||
# Run a gofmt and exclude all vendored code.
|
||||
RUN test -z "$(gofmt -l $(find . -type f -name '*.go' -not -path "./vendor/*"))"
|
||||
|
Loading…
x
Reference in New Issue
Block a user