Merge pull request #82 from frankfarzan/fix_docker_env

Don't set GIT_SYNC_DEST in Dockerfile.
This commit is contained in:
Tim Hockin 2018-02-05 21:01:21 -08:00 committed by GitHub
commit af91ea2d3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -17,7 +17,6 @@ FROM ARG_FROM
MAINTAINER Tim Hockin <thockin@google.com>
ADD bin/ARG_ARCH/ARG_BIN /ARG_BIN
ENV GIT_SYNC_DEST /git
RUN apk update --no-cache && apk add \
ca-certificates \

View File

@ -49,7 +49,7 @@ var flDepth = flag.Int("depth", envInt("GIT_SYNC_DEPTH", 0),
var flRoot = flag.String("root", envString("GIT_SYNC_ROOT", "/git"),
"the root directory for git operations")
var flDest = flag.String("dest", envString("GIT_SYNC_DEST", ""),
"the name at which to publish the checked-out files under --root (defaults to leaf dir of --root)")
"the name at which to publish the checked-out files under --root (defaults to leaf dir of --repo)")
var flWait = flag.Float64("wait", envFloat("GIT_SYNC_WAIT", 0),
"the number of seconds between syncs")
var flOneTime = flag.Bool("one-time", envBool("GIT_SYNC_ONE_TIME", false),