Skip to content

Commit

Permalink
Merge pull request #152 from rackerlabs/fix_ironic_port_sync_wf
Browse files Browse the repository at this point in the history
fix: adding missing pynautobot package to argo-ironic-client-python i…
  • Loading branch information
andrrax authored Jul 12, 2024
2 parents 631090e + 74558ad commit f3933fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
ARG BASE=ghcr.io/rackerlabs/understack/argo-python3.11.8-alpine3.19:latest

FROM ${BASE} as builder
RUN --mount=type=cache,target=/var/cache/apk apk add --virtual build-deps gcc python3-dev musl-dev linux-headers
RUN --mount=type=cache,target=/root/.cache/.pip pip install python-ironicclient==5.5.0 pydantic==2.8.0

FROM ${BASE} as prod
ARG APP_PATH=/app
ARG APP_USER=appuser
ARG APP_GROUP=appgroup
ARG APP_USER_UID=1000
ARG APP_GROUP_GID=1000
COPY --chown=${APP_USER}:${APP_GROUP} containers/requirements.txt /app
RUN --mount=type=cache,target=/var/cache/apk apk add --virtual build-deps gcc python3-dev musl-dev linux-headers
RUN --mount=type=cache,target=/root/.cache/.pip pip install --no-cache-dir -r /app/requirements.txt

FROM ${BASE} as prod
LABEL org.opencontainers.image.title="Python 3.11 image with Ironic Client"
LABEL org.opencontainers.image.base.name="ghcr.io/rackerlabs/understack/argo-ironic-client-python3.11.8"
LABEL org.opencontainers.image.source=https://github.com/rackerlabs/understack
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
python-ironicclient==5.5.0
pydantic==2.8.0
pynautobot==2.2.0

0 comments on commit f3933fc

Please sign in to comment.