Skip to content

Commit b54b47c

Browse files
committed
ci: 🔧 update release docker file to include zscaler certs
1 parent 9b687b1 commit b54b47c

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ Gemfile.lock
2222
# IDE files
2323
.idea/
2424
*.iml
25+
zscaler-root-ca.crt*

bin/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cd /app/bugsnag-js
2727
npm ci
2828

2929
# check if CDN packages changed – if they didn't we don't need to upload to the CDN
30-
BROWSER_PACKAGE_CHANGED=$(npx lerna changed --parseable | grep -c packages/js$ || test $? = 1;)
30+
BROWSER_PACKAGE_CHANGED=$(npx lerna changed --parseable | grep -c packages/browser$ || test $? = 1;)
3131
WORKER_PACKAGE_CHANGED=$(npx lerna changed --parseable | grep -c packages/web-worker$ || test $? = 1;)
3232

3333
# increment package version numbers

dockerfiles/Dockerfile.release

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
FROM node:18-alpine@sha256:974afb6cbc0314dc6502b14243b8a39fbb2d04d975e9059dd066be3e274fbb25
2+
3+
COPY ./zscaler-root-ca.crt* /usr/local/share/ca-certificates/
4+
RUN if [ -f /usr/local/share/ca-certificates/zscaler-root-ca.crt ]; then cat /usr/local/share/ca-certificates/zscaler-root-ca.crt >> /etc/ssl/certs/ca-certificates.crt; fi
5+
26
RUN apk add --update git bash python3 make gcc g++ openssh-client curl
37

8+
ENV NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/zscaler-root-ca.crt
49
RUN addgroup -S admins
510
RUN adduser -S releaser -G admins
611

0 commit comments

Comments
 (0)