Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
context: .
file: Dockerfile.buildbase
platforms: linux/amd64, linux/arm64
build-args: image_tag=${{ env.IMAGE_TAG }}
build-args: |
image_tag=${{ env.IMAGE_TAG }}
poetry_version=${{ vars.ARCALOT_POETRY_VERSION }}
push: ${{ github.event_name == 'release' || github.ref == 'refs/heads/main' }}
tags: quay.io/${{ secrets.QUAY_NAMESPACE }}/arcaflow-plugin-baseimage-python-buildbase:${{ env.IMAGE_TAG }}
4 changes: 3 additions & 1 deletion Dockerfile.buildbase
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
ARG image_tag

FROM quay.io/arcalot/arcaflow-plugin-baseimage-python-osbase:$image_tag

Check warning on line 3 in Dockerfile.buildbase

View workflow job for this annotation

GitHub Actions / Create Build Base Image

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG quay.io/***/arcaflow-plugin-baseimage-python-osbase:$image_tag results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/
ARG poetry_version
Comment thread
jaredoconnell marked this conversation as resolved.
RUN dnf -y install gcc-c++ python3.12-devel openssl-devel \
&& dnf clean all

COPY constraints.txt constraints.txt

# Setup poetry
RUN python3 -m pip install --constraint constraints.txt poetry==1.8.3 \
RUN python3 -m pip install --constraint constraints.txt \
poetry==${poetry_version} \
&& python3 -m poetry config virtualenvs.create false

# Setup coverage
Expand Down
Loading