Skip to content

Commit

Permalink
Fix Package 'openjdk-11-jre-headless' has no installation candidate (#…
Browse files Browse the repository at this point in the history
…2776)

* install OpenJDK 11 from Debian Bookworm backports

* remove redundant --frontend=noninteractive

* update comment

* update Dockerfile

* use openjdk-17-jre-headless

* remove redundant pip upgrade command
  • Loading branch information
kelvin-muchiri authored Feb 6, 2025
1 parent 41f0dee commit e4939df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/onadata-uwsgi/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ RUN chown -R appuser:appuser /home/appuser/.pyenv
USER appuser

# hadolint ignore=DL3013
RUN python -m pip install --upgrade pip && \
python -m pip install --no-cache-dir -U pip && \
RUN python -m pip install --no-cache-dir -U pip && \
python -m pip install --no-cache-dir -r requirements/base.pip && \
python -m pip install --no-cache-dir -r requirements/s3.pip && \
python -m pip install --no-cache-dir -r requirements/ses.pip && \
Expand Down Expand Up @@ -80,7 +79,7 @@ ENV LANGUAGE=en_US.UTF-8
RUN apt-get install -y --no-install-recommends \
gdal-bin \
git-core \
openjdk-11-jre-headless \
openjdk-17-jre-headless \
libxml2-dev \
libxslt1-dev \
&& apt-get autoremove -y \
Expand Down

0 comments on commit e4939df

Please sign in to comment.