From 5d8bd546324f54510204a961046c171eb4206dbe Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 29 Mar 2021 09:07:42 +0900 Subject: [PATCH] Update Dockerfiles --- Dockerfile | 10 +++++----- app/Dockerfile.dev | 12 ++++++------ app/Dockerfile.prod | 8 ++++---- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index ebbf9e59..c8a922f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,11 +16,11 @@ FROM python:${PYTHON_VERSION}-slim-buster AS backend-builder RUN apt-get update \ && apt-get install -y --no-install-recommends \ - netcat=1.10-41.1 \ - libpq-dev=11.11-0+deb10u1 \ - unixodbc-dev=2.3.6-0.1 \ - g++=4:8.3.0-1 \ - libssl-dev=1.1.1d-0+deb10u6 \ + netcat=1.* \ + libpq-dev=11.* \ + unixodbc-dev=2.* \ + g++=4:* \ + libssl-dev=1.* \ && apt-get clean WORKDIR /tmp diff --git a/app/Dockerfile.dev b/app/Dockerfile.dev index 1a06ee0a..1c40a337 100644 --- a/app/Dockerfile.dev +++ b/app/Dockerfile.dev @@ -3,12 +3,12 @@ FROM python:${PYTHON_VERSION}-slim-buster RUN apt-get update \ && apt-get install -y --no-install-recommends \ - wget=1.20.1-1.1 \ - netcat=1.10-41.1 \ - libpq-dev=11.11-0+deb10u1 \ - unixodbc-dev=2.3.6-0.1 \ - g++=4:8.3.0-1 \ - libssl-dev=1.1.1d-0+deb10u6 \ + wget=1.* \ + netcat=1.* \ + libpq-dev=11.* \ + unixodbc-dev=2.* \ + g++=4:* \ + libssl-dev=1.* \ && apt-get clean ENV ENTRYKIT_VERSION 0.4.0 diff --git a/app/Dockerfile.prod b/app/Dockerfile.prod index 88c8ca1f..d21a29ba 100644 --- a/app/Dockerfile.prod +++ b/app/Dockerfile.prod @@ -14,10 +14,10 @@ COPY ./Pipfile* /app/ # hadolint ignore=DL3013 RUN apt-get update \ && apt-get install -y --no-install-recommends \ - netcat=1.10-41.1 \ - libpq-dev=11.11-0+deb10u1 \ - unixodbc-dev=2.3.6-0.1 \ - g++=4:8.3.0-1 \ + netcat=1.* \ + libpq-dev=11.* \ + unixodbc-dev=2.* \ + g++=4:* \ && pip install --no-cache-dir pipenv==2020.11.15 \ && pipenv install --system --deploy \ && pip uninstall -y pipenv virtualenv-clone virtualenv \