Skip to content

Commit

Permalink
Rebase Docker image of project on phusion/baseimage
Browse files Browse the repository at this point in the history
phusion/baseimage has the correct init process
that ensures all orphaned child processes are
reaped
  • Loading branch information
candleindark committed Dec 22, 2023
1 parent baebfc3 commit f954486
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Docker file for the container of the web, worker, scheduler, and monitor services
#

FROM docker.io/debian:11
FROM docker.io/phusion/baseimage:jammy-1.0.1
WORKDIR /app

# Install dependencies
Expand All @@ -26,7 +26,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
RUN git config --system user.name "dl-registry" && \
git config --system user.email "[email protected]"

RUN ["pip3", "install", "--no-cache-dir", "-U","pip", "setuptools"]
# Updating blinker in this step as well because it can't be uninstalled
# and reinstalled to the latest version in two separate steps
RUN ["pip3", "install", "--no-cache-dir", "-U","pip", "setuptools", "blinker"]

COPY requirements.txt requirements.txt

Expand Down

0 comments on commit f954486

Please sign in to comment.