Skip to content

Commit af91ea2

Browse files
authored
Merge pull request kubernetes#82 from frankfarzan/fix_docker_env
Don't set GIT_SYNC_DEST in Dockerfile.
2 parents 3897ab3 + c9f2e62 commit af91ea2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Dockerfile.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ FROM ARG_FROM
1717
MAINTAINER Tim Hockin <thockin@google.com>
1818

1919
ADD bin/ARG_ARCH/ARG_BIN /ARG_BIN
20-
ENV GIT_SYNC_DEST /git
2120

2221
RUN apk update --no-cache && apk add \
2322
ca-certificates \

cmd/git-sync/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var flDepth = flag.Int("depth", envInt("GIT_SYNC_DEPTH", 0),
4949
var flRoot = flag.String("root", envString("GIT_SYNC_ROOT", "/git"),
5050
"the root directory for git operations")
5151
var flDest = flag.String("dest", envString("GIT_SYNC_DEST", ""),
52-
"the name at which to publish the checked-out files under --root (defaults to leaf dir of --root)")
52+
"the name at which to publish the checked-out files under --root (defaults to leaf dir of --repo)")
5353
var flWait = flag.Float64("wait", envFloat("GIT_SYNC_WAIT", 0),
5454
"the number of seconds between syncs")
5555
var flOneTime = flag.Bool("one-time", envBool("GIT_SYNC_ONE_TIME", false),

0 commit comments

Comments
 (0)