From 82f4b3eb17c68cbccd9b8bd47ab0669feb19d249 Mon Sep 17 00:00:00 2001 From: andrewthetechie Date: Wed, 3 Aug 2022 17:10:03 +0000 Subject: [PATCH] ci: update actions dockerfile for release --- Dockerfile | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0bb3078e..e37ff08b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,3 @@ -# Distroless runs python 3.9.2 -FROM python:3.9.2-slim AS builder -ADD Docker/builder/rootfs / -ADD repo_manager /app/repo_manager -ADD main.py /app/main.py -WORKDIR /app - -# We are installing a dependency here directly into our app source dir -RUN pip install --target=/app -r /requirements.txt - -# A distroless container image with Python and some basics like SSL certificates -# https://github.com/GoogleContainerTools/distroless -FROM gcr.io/distroless/python3 -COPY --from=builder /app /app -WORKDIR /app -ENV PYTHONPATH /app -CMD ["/app/main.py"] +# This file is generated from Docker/ActionDockerfile.j2 as part of the release ci +# Don't modify it directly +FROM andrewthetechie/gha-repo-manager:v1.2.1