File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ FROM node:12-alpine3.11 as build
22
33WORKDIR /tmp
44
5+ RUN sed -i -e 's/http:/https:/' /etc/apk/repositories
6+
57RUN apk update && apk add --no-cache --virtual .build-deps \
68 python \
79 g++ \
@@ -35,6 +37,7 @@ ENV DATA_DIRECTORY_PATH=/api/data
3537# Set umask to 027
3638RUN umask 027 && echo "umask 0027" >> /etc/profile
3739
40+ RUN sed -i -e 's/http:/https:/' /etc/apk/repositories
3841COPY --from=build /var/cache/apk /var/cache/apk
3942RUN apk add --no-cache bash openssl && rm -rf /var/cache/apk
4043
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ FROM node:12-alpine3.11 as build
22
33WORKDIR /tmp
44
5+ RUN sed -i -e 's/http:/https:/' /etc/apk/repositories
6+
57RUN apk update && apk add --no-cache --virtual .build-deps \
68 python \
79 g++ \
@@ -33,6 +35,7 @@ LABEL maintainer="NDID IT Team <it@ndid.co.th>"
3335# Set umask to 027
3436RUN umask 027 && echo "umask 0027" >> /etc/profile
3537
38+ RUN sed -i -e 's/http:/https:/' /etc/apk/repositories
3639COPY --from=build /var/cache/apk /var/cache/apk
3740RUN apk add --no-cache bash openssl && rm -rf /var/cache/apk
3841
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ FROM node:12-alpine3.11 as build
22
33WORKDIR /tmp
44
5+ RUN sed -i -e 's/http:/https:/' /etc/apk/repositories
6+
57RUN apk update && apk add --no-cache --virtual .build-deps \
68 python \
79 g++ \
@@ -33,6 +35,7 @@ LABEL maintainer="NDID IT Team <it@ndid.co.th>"
3335# Set umask to 027
3436RUN umask 027 && echo "umask 0027" >> /etc/profile
3537
38+ RUN sed -i -e 's/http:/https:/' /etc/apk/repositories
3639COPY --from=build /var/cache/apk /var/cache/apk
3740RUN apk add --no-cache bash openssl && rm -rf /var/cache/apk
3841
You can’t perform that action at this time.
0 commit comments