We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.git/objects
Although a local Docker build of v0.4.4 works, a remote Dokku-based buildstep-based build fails with:
Step 14 : RUN apk add --update musl-dev gcc go git bash wget ca-certificates && mkdir -p $IPFS_PATH && adduser -D -h $IPFS_PATH -u 1000 ipfs && chown ipfs:ipfs $IPFS_PATH && chmod 755 $IPFS_PATH && go get -u github.com/whyrusleeping/gx && go get -u github.com/whyrusleeping/gx-go && ([ -z "$GX_IPFS" ] || echo $GX_IPFS > $IPFS_PATH/api) && cd $SRC_PATH&& gx --verbose install --global && mkdir .git/objects && commit=$(git rev-parse --short HEAD) && echo "ldflags=-X github.com/ipfs/go-ipfs/repo/config.CurrentCommit=$commit" && cd $SRC_PATH/cmd/ipfs && go build -ldflags "-X github.com/ipfs/go-ipfs/repo/config.CurrentCommit=$commit" && cp ipfs /usr/local/bin/ipfs && cp $SRC_PATH/bin/container_daemon /usr/local/bin/start_ipfs && chmod 755 /usr/local/bin/start_ipfs && apk del --purge musl-dev gcc go git && rm -rf $GOPATH && rm -vf $IPFS_PATH/api ---> Running in f83eda465ab2 fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz (1/28) Upgrading musl (1.1.15-r5 -> 1.1.16-r2) ... installation of dep go-ipfs complete! mkdir: can't create directory '.git/objects': No such file or directory remote: The command '/bin/sh -c apk add --update musl-dev gcc go git bash wget ca-certificates && mkdir -p $IPFS_PATH && adduser -D -h $IPFS_PATH -u 1000 ipfs && chown ipfs:ipfs $IPFS_PATH && chmod 755 $IPFS_PATH && go get -u github.com/whyrusleeping/gx && go get -u github.com/whyrusleeping/gx-go && ([ -z "$GX_IPFS" ] || echo $GX_IPFS > $IPFS_PATH/api) && cd $SRC_PATH && gx --verbose install --global && mkdir .git/objects && commit=$(git rev-parse --short HEAD) && echo "ldflags=-X github.com/ipfs/go-ipfs/repo/config.CurrentCommit=$commit" && cd $SRC_PATH/cmd/ipfs && go build -ldflags "-X github.com/ipfs/go-ipfs/repo/config.CurrentCommit=$commit" && cp ipfs /usr/local/bin/ipfs && cp $SRC_PATH/bin/container_daemon /usr/local/bin/start_ipfs && chmod 755 /usr/local/bin/start_ipfs && apk del --purge musl-dev gcc go git && rm -rf $GOPATH && rm -vf $IPFS_PATH/api' returned a non-zero code: 1
The text was updated successfully, but these errors were encountered:
@Kubuxu did you fix this recently? I remember merging a dockerfile PR that touched .git/objects
Sorry, something went wrong.
This is something different, I added the same mkdir to dockerfile used by Jenkins. I have no idea why it fails in dokku.
It probably just needs to be mkdir -p instead of mkdir
mkdir -p
mkdir
But this would mean that there is no .git directory over there.
.git
I could not reproduce it and we changed our Dockerfiles few times.
No branches or pull requests
Although a local Docker build of v0.4.4 works, a remote Dokku-based buildstep-based build fails with:
The text was updated successfully, but these errors were encountered: