Skip to content
Snippets Groups Projects
Verified Commit 87d01782 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Get ARG ONBUILD

parent 21473b27
No related branches found
No related tags found
1 merge request!550Resolve "[Docker] Allow using core image as base image for app/distribution images"
Pipeline #6664 passed
......@@ -4,9 +4,6 @@ FROM python:3.9-buster AS core
ARG EXTRAS="ldap,s3"
ARG APP_VERSION=""
# Additional apps
ARG APPS=""
# Configure Python to be nice inside Docker and pip to stfu
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1
......@@ -93,6 +90,7 @@ USER 33:33
# Additional steps
ONBUILD USER 0:0
ONBUILD ARG APPS=""
ONBUILD RUN set -e; \
if [ -n "$APPS" ]; then \
eatmydata pip install $APPS; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment