v9.4.0
This commit is contained in:
+2
-2
@@ -7,7 +7,7 @@ ARG BUILD_DATE=unknown
|
||||
COPY go.mod ./
|
||||
RUN --mount=type=cache,target=/go/pkg/mod go mod download
|
||||
COPY . .
|
||||
RUN test -f ./cmd/dockwatch/main.go && test -f ./internal/stacks/stacks.go && test -f ./web/embed.go || \
|
||||
RUN test -f ./cmd/dockwatch/main.go && test -f ./internal/stacks/stacks.go && test -f ./internal/hostsecurity/security.go && test -f ./web/embed.go || \
|
||||
(echo "ERROR: required source files are missing from Docker build context; check .dockerignore" >&2; exit 1)
|
||||
# Keep the module graph in sync with the actual source tree. This is required for
|
||||
# Go 1.17+ module graph pruning when transitive dependencies must be recorded as
|
||||
@@ -21,7 +21,7 @@ RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache
|
||||
|
||||
FROM docker:cli
|
||||
ENV DOCKER_CONFIG=/data/docker-config
|
||||
RUN apk add --no-cache ca-certificates tzdata git openssh-client acl
|
||||
RUN apk add --no-cache ca-certificates tzdata git openssh-client acl util-linux
|
||||
COPY --from=build /out/dockwatch /usr/local/bin/dockwatch
|
||||
VOLUME ["/data","/stacks"]
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in New Issue
Block a user