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

sandbox.admin: Add python requests #96

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
12 changes: 10 additions & 2 deletions Containerfile.admin
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,23 @@ RUN dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x
postgresql \
python39 \
python39-pip \
python39-requests \
rsync \
tar \
unzip \
vim \
wget \
&& dnf clean all \
&& VERSION=4.1.0 \
&& curl --silent --location https://github.com/Orange-OpenSource/hurl/releases/download/$VERSION/hurl-$VERSION-x86_64-unknown-linux-gnu.tar.gz \
| tar -xz -C /usr/local/bin --strip-components=1 --wildcards '*/hurl' '*/hurlfmt'
| tar -xz -C /usr/local/bin --strip-components=1 --wildcards '*/hurl' '*/hurlfmt' \
##############################
# Python
##############################
&& alternatives --set python /usr/bin/python3.9 \
&& alternatives --set python3 /usr/bin/python3.9 \
&& alternatives --install /usr/bin/pip pip /usr/bin/pip3.9 1 \
&& alternatives --list \
&& dnf clean all && rm -rf /tmp/*

COPY --from=docker.io/migrate/migrate /usr/local/bin/migrate /usr/local/bin/migrate
WORKDIR /sandbox/
Expand Down
Loading