Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRMT-4392 #2

Merged
merged 2 commits into from
Jan 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:20-alpine

# Install common Dojo scripts
ENV DOJO_VERSION=0.10.2
ENV DOJO_VERSION=0.11.0
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
apk add --no-cache tini bash shadow sudo git && \
userdel node &&\
Expand All @@ -10,7 +10,7 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repos
rm -r /tmp/dojo_git &&\
echo 'dojo ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers

ENV AWS_CLI_VERSION=1.16.238 BOTO3_VERSION=1.9.228
ENV AWS_CLI_VERSION=2.15.12 BOTO3_VERSION=1.34.23
RUN apk add --no-cache make python3 py3-pip curl groff &&\
python3 -m ensurepip --upgrade &&\
python3 -m pip install awscli==${AWS_CLI_VERSION} boto3==${BOTO3_VERSION}
Expand All @@ -19,9 +19,9 @@ RUN apk add --no-cache make python3 py3-pip curl groff &&\
RUN apk add --no-cache postgresql-dev g++ make

# Install jq to parse json in bash
RUN wget -O ./jq-linux64 https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 &&\
chmod +x ./jq-linux64 &&\
mv ./jq-linux64 /usr/bin/jq
RUN wget -O ./jq-linux-arm64 https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-arm64 &&\
chmod +x ./jq-linux-arm64 &&\
mv ./jq-linux-arm64 /usr/bin/jq

# To run postgres migrations in dojo
RUN apk add --no-cache postgresql-client
Expand Down