Skip to content

Commit

Permalink
Use docker-python-imagemagick7 image
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfraney committed Apr 4, 2024
1 parent dc10278 commit 7b8f4c2
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
# Container image that runs your code
FROM python:3.12-bullseye

ENV DEBIAN_FRONTEND=noninteractive

# Installs ImageMagick with AVIF support
RUN apt remove "*imagemagick*" --purge -y && apt autoremove --purge -y

RUN apt-get -qq update && apt-get -qq install -y ffmpeg build-essential

RUN git clone https://github.com/SoftCreatR/imei && \
cd imei && \
chmod +x imei.sh && \
./imei.sh

# Installs Poetry
ENV POETRY_NO_INTERACTION=1 \
POETRY_VIRTUALENVS_IN_PROJECT=1 \
POETRY_VIRTUALENVS_CREATE=1 \
POETRY_CACHE_DIR=/tmp/poetry_cache

RUN pip install poetry
FROM johnfraney/docker-python-imagemagick7

# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh
Expand Down

0 comments on commit 7b8f4c2

Please sign in to comment.