Skip to content

Commit

Permalink
only-binary
Browse files Browse the repository at this point in the history
  • Loading branch information
tammy-baylis-swi committed Jan 13, 2025
1 parent 5a51962 commit 8a995ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ WORKDIR /operator-build

ADD requirements.txt .

RUN mkdir workspace && pip install --prefer-binary --target workspace -r requirements.txt
RUN mkdir workspace && pip install --only-binary --target workspace -r requirements.txt

FROM python:3.11-alpine3.16 AS build-musl

Expand All @@ -30,7 +30,7 @@ WORKDIR /operator-build
ADD requirements.txt .

RUN apk add g++ gcc python3-dev musl-dev linux-headers
RUN mkdir workspace && pip install --prefer-binary --target workspace -r requirements.txt
RUN mkdir workspace && pip install --only-binary --target workspace -r requirements.txt

FROM busybox

Expand Down

0 comments on commit 8a995ce

Please sign in to comment.