From 75dd6f2010f68203b567d67654d2ca958f174b5e Mon Sep 17 00:00:00 2001 From: seph Date: Fri, 22 Mar 2019 03:30:23 -0400 Subject: [PATCH] Specify VOLUME using json syntax (#791) When using a json array for VOLUME, values must be quoted. Else it's interpreted as a string, eg /[vuls Fixes https://github.com/kotakanbe/goval-dictionary/issues/58 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d1cf4b78..3507c961 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ RUN apk add --no-cache \ COPY --from=builder /go/bin/vuls /usr/local/bin/ -VOLUME [$WORKDIR, $LOGDIR] +VOLUME ["$WORKDIR", "$LOGDIR"] WORKDIR $WORKDIR ENV PWD $WORKDIR