-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1230 from TIP-Global-Health/develop
WIP: Developments starting June 20, 2024
- Loading branch information
Showing
90 changed files
with
39,003 additions
and
23,783 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,16 +4,24 @@ FROM $BASE_IMAGE | |
RUN apt-get update || true | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests inotify-tools build-essential mime-support | ||
|
||
# Download and install Python 2.7 and dependencies from Debian 11 (Bullseye) | ||
ADD https://deb.debian.org/debian/pool/main/libf/libffi/libffi7_3.3-6_amd64.deb /tmp/ | ||
ADD https://deb.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_amd64.deb /tmp/ | ||
ADD https://deb.debian.org/debian/pool/main/p/python2.7/libpython2.7-minimal_2.7.18-8+deb11u1_amd64.deb /tmp/ | ||
ADD https://deb.debian.org/debian/pool/main/p/python2.7/python2.7-minimal_2.7.18-8+deb11u1_amd64.deb /tmp/ | ||
ADD https://deb.debian.org/debian/pool/main/p/python2.7/libpython2.7-stdlib_2.7.18-8+deb11u1_amd64.deb /tmp/ | ||
ADD https://deb.debian.org/debian/pool/main/p/python2.7/python2.7_2.7.18-8+deb11u1_amd64.deb /tmp/ | ||
|
||
# Install the downloaded packages | ||
RUN dpkg -i /tmp/*.deb && rm /tmp/*.deb | ||
RUN if [ "$(uname -m)" = "aarch64" ] || [ "$(uname -m)" = "arm64" ]; then \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests autoconf autotools-dev automake; \ | ||
wget https://deb.debian.org/debian/pool/main/libf/libffi/libffi7_3.3-6_arm64.deb -O /tmp/libffi7_arm64.deb && \ | ||
wget https://deb.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_arm64.deb -O /tmp/libssl1.1_arm64.deb && \ | ||
wget https://deb.debian.org/debian/pool/main/p/python2.7/libpython2.7-minimal_2.7.18-8+deb11u1_arm64.deb -O /tmp/libpython2.7-minimal_arm64.deb && \ | ||
wget https://deb.debian.org/debian/pool/main/p/python2.7/python2.7-minimal_2.7.18-8+deb11u1_arm64.deb -O /tmp/python2.7-minimal_arm64.deb && \ | ||
wget https://deb.debian.org/debian/pool/main/p/python2.7/libpython2.7-stdlib_2.7.18-8+deb11u1_arm64.deb -O /tmp/libpython2.7-stdlib_arm64.deb && \ | ||
wget https://deb.debian.org/debian/pool/main/p/python2.7/python2.7_2.7.18-8+deb11u1_arm64.deb -O /tmp/python2.7_arm64.deb && \ | ||
dpkg -i /tmp/*.deb && rm /tmp/*.deb; \ | ||
else \ | ||
wget https://deb.debian.org/debian/pool/main/libf/libffi/libffi7_3.3-6_amd64.deb -O /tmp/libffi7_amd64.deb && \ | ||
wget https://deb.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_amd64.deb -O /tmp/libssl1.1_amd64.deb && \ | ||
wget https://deb.debian.org/debian/pool/main/p/python2.7/libpython2.7-minimal_2.7.18-8+deb11u1_amd64.deb -O /tmp/libpython2.7-minimal_amd64.deb && \ | ||
wget https://deb.debian.org/debian/pool/main/p/python2.7/python2.7-minimal_2.7.18-8+deb11u1_amd64.deb -O /tmp/python2.7-minimal_amd64.deb && \ | ||
wget https://deb.debian.org/debian/pool/main/p/python2.7/libpython2.7-stdlib_2.7.18-8+deb11u1_amd64.deb -O /tmp/libpython2.7-stdlib_amd64.deb && \ | ||
wget https://deb.debian.org/debian/pool/main/p/python2.7/python2.7_2.7.18-8+deb11u1_amd64.deb -O /tmp/python2.7_amd64.deb && \ | ||
dpkg -i /tmp/*.deb && rm /tmp/*.deb; \ | ||
fi | ||
|
||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 | ||
# Elm - directly downloading the binary. | ||
|
@@ -28,6 +36,3 @@ RUN npm -g config set user root | |
RUN npm install -g [email protected] | ||
# Install svg2elm. | ||
RUN npm install -g svg2elm | ||
RUN if [ "$(uname -m)" = "aarch64" ]; then \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests autoconf autotools-dev automake; \ | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.