Skip to content

Commit

Permalink
https://github.com/gliderlabs/docker-alpine/issues/307
Browse files Browse the repository at this point in the history
  • Loading branch information
mrabbah committed Nov 21, 2022
1 parent 389e1f3 commit 002d25a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ RUN mkdir /tmp/server

ADD $CORTEZA_SERVER_PATH /tmp/server

RUN apk update

RUN apk add --no-cache file
RUN apk update && apk add --no-cache file

RUN file "/tmp/server/$(basename $CORTEZA_SERVER_PATH)" | grep -q 'gzip' && \
tar zxvf "/tmp/server/$(basename $CORTEZA_SERVER_PATH)" -C / || \
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pipeline {
stage('Build Docker image') {
steps {
container('docker') {
sh 'docker build -t mrabbah/corteza-server:${BRANCH_NAME} --build-arg VERSION=${BRANCH_NAME} . '
sh 'docker build --network host -t mrabbah/corteza-server:${BRANCH_NAME} --build-arg VERSION=${BRANCH_NAME} . '
}
}
}
Expand Down

0 comments on commit 002d25a

Please # to comment.