Skip to content

Commit

Permalink
SYS-576 python-builder now limited to amd64 platform
Browse files Browse the repository at this point in the history
  • Loading branch information
instantlinux committed Jul 30, 2023
1 parent 0c73a04 commit 8422f20
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion images/python-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ ARG COMPOSE_SHA=b9385dabb7931636a3afc0aee94625ebff3bb29584493a87804afb6ebaf2d916
ARG KUBECTL_SHA=4685bfcf732260f72fce58379e812e091557ef1dfc1bc8084226c7891dd6028f

COPY Pipfile* /root/

RUN addgroup -g $DOCKER_GID docker && \
adduser -D -h $BUILD_DIR -u $BUILD_UID -G docker \
-s /bin/bash $BUILD_USER && \
Expand Down
1 change: 1 addition & 0 deletions images/python-wsgi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ARG PYPILLOW_VERSION=9.5.0-r1
ARG UWSGI_VERSION=2.0.21-r3

COPY Pipfile* uwsgi.ini /usr/src/

RUN apk add --virtual .fetch-deps gcc git jpeg-dev linux-headers make \
musl-dev libwebp-dev openssl-dev pcre-dev python3-dev zlib-dev && \
apk add --update --no-cache geos jpeg libjpeg-turbo libwebp \
Expand Down
5 changes: 3 additions & 2 deletions lib/build/Makefile.docker_image
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ endif
ifeq ($(IMAGE),nagiosql)
PLATFORMS = linux/amd64,linux/arm64,linux/arm/v7
endif
ifeq ($(IMAGE),python-builder)
ifeq ($(IMAGE),$(filter $(IMAGE),python-builder python-wsgi))
# helm package on arm/v6 isn't supported as of Aug 2021
PLATFORMS = linux/amd64,linux/arm64,linux/arm/v7
# others had issues with pipenv hashes Jul 2023
PLATFORMS = linux/amd64
endif
ifeq ($(IMAGE),spamassassin)
PLATFORMS = linux/amd64,linux/arm64
Expand Down

0 comments on commit 8422f20

Please sign in to comment.