Skip to content

Commit

Permalink
🔥 upgrade base image to 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Dec 12, 2022
1 parent 506234e commit f1527a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Expand Up @@ -19,21 +19,22 @@ COPY README.md .
COPY LICENSE .
RUN echo 'APT::Install-Recommends "0"; APT::Install-Suggests "0";' >/etc/apt/apt.conf.d/ocr-d.conf
RUN apt-get update && apt-get -y install software-properties-common \
&& add-apt-repository ppa:deadsnakes/ppa \
&& apt-get update && apt-get -y install \
ca-certificates \
python3.7-dev \
python3.7-venv \
python3-dev \
python3-pip \
python3-venv \
gcc \
make \
wget \
time \
curl \
sudo \
git \
&& make deps-ubuntu \
&& python3.7 -m ensurepip --default-pip \
&& pip install --upgrade pip setuptools \
&& make install \
&& apt-get remove -y gcc \
&& $FIXUP \
&& rm -rf /build-ocrd

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -49,7 +49,7 @@ help:
DOCKER_TAG = ocrd/core

# Docker base image. Default: '$(DOCKER_BASE_IMAGE)'.
DOCKER_BASE_IMAGE = ubuntu:18.04
DOCKER_BASE_IMAGE = ubuntu:20.04

# Additional arguments to docker build. Default: '$(DOCKER_ARGS)'
DOCKER_ARGS =
Expand Down

0 comments on commit f1527a2

Please sign in to comment.