Skip to content

Commit

Permalink
Merge pull request #1078 from xzzy/master2
Browse files Browse the repository at this point in the history
Rollback Package Updates
  • Loading branch information
xzzy authored Jul 3, 2024
2 parents ab02050 + ec35578 commit a2972bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ RUN mv /etc/apt/sourcesau.list /etc/apt/sources.list
RUN apt-get clean
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install --no-install-recommends -y wget git libmagic-dev gcc binutils libproj-dev gdal-bin python3 python3-setuptools python3-dev python3-pip tzdata cron
RUN apt-get install --no-install-recommends -y wget git libmagic-dev gcc binutils libproj-dev gdal-bin python3 python3-setuptools python3-dev python3-pip tzdata cron
RUN apt-get install --no-install-recommends -y libpq-dev patch build-essential software-properties-common ca-certificates bzip2 gpg-agent
RUN update-ca-certificates
RUN apt-get install --no-install-recommends -y postgresql-client mtr htop vim ssh


RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get install --no-install-recommends -y python3.8 python3.8-dev python3.8-distutils
RUN ln -s /usr/bin/python3.8 /usr/bin/python && python3.8 -m pip install --upgrade pip==21.3.1
RUN apt-get install --no-install-recommends -y python3.7 python3.7-dev python3.7-distutils
RUN ln -s /usr/bin/python3.7 /usr/bin/python && python3.7 -m pip install --upgrade pip==21.3.1
RUN apt-get update

#RUN ln -s /usr/bin/pip3 /usr/bin/pip
Expand All @@ -38,7 +38,7 @@ RUN pip3 install --no-cache-dir -r requirements.txt \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/ /tmp/* /var/tmp/*

COPY libgeos.py.patch /app/
RUN patch /usr/local/lib/python3.8/dist-packages/django/contrib/gis/geos/libgeos.py /app/libgeos.py.patch
RUN patch /usr/local/lib/python3.7/dist-packages/django/contrib/gis/geos/libgeos.py /app/libgeos.py.patch
RUN rm /app/libgeos.py.patch

# Install the project (ensure that frontend projects have been built prior to this step).
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ django-treebeard==4.3.1
psycopg2==2.8.6
whitenoise==5.3.0
git+https://github.com/dbca-wa/appmonitor_client.git#egg=appmonitor_client
python-decouple==3.8
numpy==1.24.4
requests==2.32.3
setuptools==70.0.0
wheel==0.43.0
python-decouple==3.7
numpy==1.19.5
requests==2.31.0
setuptools==59.6.0
wheel==0.37.1
django-tables2==1.16.0

0 comments on commit a2972bf

Please sign in to comment.