Skip to content

Commit 926798b

Browse files
ci: set Git config on docker build
1 parent ddcaab9 commit 926798b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ save_cache_settings: &save_cache_settings
4343
build_docker_image: &build_docker_image
4444
name: Build of Docker image
4545
command: |
46-
git config --global url."https://git@".insteadOf git://
4746
source buildenvvar
4847
./build.sh
4948
no_output_timeout: 20m

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ ENV OPTIMIZELY_SDK_KEY=$OPTIMIZELY_SDK_KEY
147147
# Testing and build of the application inside the container.
148148

149149
RUN npm config set unsafe-perm true
150+
RUN git config --global url."https://git@".insteadOf git://
150151
RUN npm install
151152
RUN npm test
152153
RUN npm run build

0 commit comments

Comments
 (0)