Skip to content

Commit 00ab01d

Browse files
author
Kyr Shatskyy
committed
containers/teuthology-dev/Dockerfile: fix running bootstrap
The `git config --unset` returns 5 if there is missing variable supposed to be unset. Just always return true for this command so the bootstrap can proceed. Fixes: 7cc6ba4 Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
1 parent 1d496d1 commit 00ab01d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

containers/teuthology-dev/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN \
3131
PIP_INSTALL_FLAGS="-r requirements.txt" ./bootstrap
3232
COPY . /teuthology
3333
RUN \
34-
git config -f ./.git/config --unset 'http.https://github.com/.extraheader' && \
34+
(git config -f ./.git/config --unset 'http.https://github.com/.extraheader' || true ) && \
3535
./bootstrap
3636
COPY containers/teuthology-dev/containerized_node.yaml /teuthology
3737
COPY containers/teuthology-dev/.teuthology.yaml /root

0 commit comments

Comments
 (0)