Skip to content

Commit

Permalink
An ARG declared before the FROM instruction can't be used after the FROM
Browse files Browse the repository at this point in the history
  • Loading branch information
oshadura committed Sep 12, 2022
1 parent c787c6a commit 511d8f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/Dockerfile.cc-ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root
LABEL maintainer="Oksana Shadura <[email protected]>"
# Tag
# Tag
ARG TAG
ARG PROJECT
ARG REGISTRY
ARG WORKER_IMAGE="${REGISTRY}/${PROJECT}/cc-analysis-ubuntu"
# Secrets
ARG CERT_DIR="/etc/cmsaf-secrets"
Expand All @@ -40,6 +42,7 @@ ARG GITHUB_ACTIONS="false"
# Configure environment
ENV CERT_DIR=$CERT_DIR
ENV TAG=$TAG
ENV REGISTRY=$REGISTRY
ENV WORKER_IMAGE=$WORKER_IMAGE
ENV BEARER_TOKEN_FILE=$BEARER_TOKEN_FILE
ENV DASK_ROOT_CONFIG=$DASK_ROOT_CONFIG
Expand Down

0 comments on commit 511d8f9

Please sign in to comment.