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
This commit is contained in:
seph
2019-03-22 03:30:23 -04:00
committed by Kota Kanbe
parent e26fd0b759
commit 75dd6f2010

View File

@@ -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