File tree Expand file tree Collapse file tree 3 files changed +7
-24
lines changed
Expand file tree Collapse file tree 3 files changed +7
-24
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,9 @@ COPY --from=builder /usr/local/bin/node /usr/local/bin
2121COPY --from=builder /app /app
2222
2323RUN apk update && \
24- apk add --no-cache bash tini && \
24+ apk add --no-cache bash tini aws-cli && \
2525 rm -rf /var/cache/apk/*
2626
27- RUN apk add --no-cache \
28- python3 \
29- py3-pip \
30- && pip3 install --upgrade pip \
31- && pip3 install \
32- awscli \
33- && rm -rf /var/cache/apk/*
3427
3528COPY build/ /app/build
3629
Original file line number Diff line number Diff line change @@ -22,20 +22,15 @@ COPY --from=builder /app /app
2222
2323# install python native requirements (again, as per builder)
2424# add root CA from deductions team to trusted certificates
25+
26+ # TODO PRM-223 OR PRM-225 (can't remember and jira is broken) - Rip out Tini, hasn't been updated since 2020
27+
2528RUN apk update && \
2629 apk -u list && \
2730 apk upgrade && \
28- apk add --no-cache openssl ca-certificates bash tini && \
31+ apk add --no-cache openssl ca-certificates bash tini aws-cli && \
2932 rm -rf /var/cache/apk/*
3033
31- RUN apk add --no-cache \
32- python3 \
33- py3-pip \
34- && pip3 install --upgrade pip \
35- && pip3 install \
36- awscli \
37- && rm -rf /var/cache/apk/*
38-
3934COPY build/ /app/build
4035
4136COPY scripts/load-api-keys.sh /app/scripts/load-api-keys.sh
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM node:24-alpine3.23 AS builder
33RUN apk update && \
44 apk -u list && \
55 apk upgrade && \
6- rm -rf /var/cache/apk/* \
6+ rm -rf /var/cache/apk/*
77
88COPY package*.json /app/
99
@@ -22,12 +22,7 @@ COPY --from=builder /usr/local/bin/node /usr/local/bin
2222COPY --from=builder /app /app
2323
2424RUN apk update && apk add openssl ca-certificates git && rm -rf /var/cache/apk/*
25- RUN apk add --no-cache \
26- python3 \
27- py3-pip \
28- && pip3 install --upgrade pip \
29- && pip3 install \
30- awscli \
25+ RUN apk add --no-cache aws-cli \
3126 && rm -rf /var/cache/apk/*
3227
3328
You can’t perform that action at this time.
0 commit comments