To achieve this, you can modify your Dockerfile to include these packages.
Assuming you have a Dockerfile for your project, you can add the necessary package installation commands. For Example:
Use the base image with the desired version
FROM your_base_image:version
Install required packages
RUN apk --no-cache add cairo freetype-dev jpeg-dev
Additional steps for your Dockerfile...
Replace your_base_image:version with the actual base image and version you are using. The apk add command is used to install packages, and --no-cache is used to avoid caching the package index locally, saving space in the Docker image.
Rebuild your Docker image after making these changes:
To achieve this, you can modify your Dockerfile to include these packages. Assuming you have a Dockerfile for your project, you can add the necessary package installation commands. For Example:
Use the base image with the desired version FROM your_base_image:version
Install required packages RUN apk --no-cache add cairo freetype-dev jpeg-dev
Additional steps for your Dockerfile... Replace your_base_image:version with the actual base image and version you are using. The apk add command is used to install packages, and --no-cache is used to avoid caching the package index locally, saving space in the Docker image.
Rebuild your Docker image after making these changes:
docker build -t your_image_name:tag .