Skip to content

Commit

Permalink
Use python 3.11-slim-bookwork image and openjdk
Browse files Browse the repository at this point in the history
  • Loading branch information
meatballs committed Dec 4, 2023
1 parent dc985b3 commit e710866
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docker/app_server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@
# This software is published at https://github.com/anvilistas/amoni
#
# __version__ = "0.0.13"
FROM python:3
FROM python:3.11-slim-bookworm
COPY docker/app_server/requirements.txt ./

RUN apt-get -yyy update \
&& apt-get -yyy install software-properties-common postgresql-client \
&& wget -O - https://apt.corretto.aws/corretto.key | gpg --dearmor -o /usr/share/keyrings/corretto-keyring.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/corretto-keyring.gpg] https://apt.corretto.aws stable main" | tee /etc/apt/sources.list.d/corretto.list \
&& apt-get -yyy update \
&& apt-get -yyy install java-1.8.0-amazon-corretto-jdk ghostscript \
&& apt-get -yyy install software-properties-common postgresql-client openjdk-17-jdk\
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
&& dpkg -i google-chrome-stable_current_amd64.deb || apt install -y --fix-broken \
&& rm google-chrome-stable_current_amd64.deb \
Expand Down

0 comments on commit e710866

Please sign in to comment.