Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioLangaritaBenitez committed Jan 29, 2025
1 parent 2b80b02 commit a63a123
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 7 additions & 2 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ LABEL maintainer="Miguel Caballer <[email protected]>"
LABEL description="Container image to build faas-supervisor in alpine"
RUN apk add --no-cache nghttp2-libs binutils libexecinfo-dev libcurl zip unzip cmake automake make curl-dev libtool autoconf gcc g++ zlib-dev musl-dev py3-pip python3 python3-dev libxml2-dev libxslt-dev
RUN python3 -m ensurepip
RUN pip --no-cache-dir install pyinstaller
RUN pip --no-cache-dir install --upgrade pip setuptools>=40.8.0
RUN pip --no-cache-dir install pyinstaller
RUN pip install --no-deps --ignore-installed wheel==0.37.1
RUN apk add --no-cache --virtual .build-deps gcc musl-dev \
&& pip install cython \
&& apk del .build-deps
RUN pip --no-cache-dir install boto3==1.20.38 \
webdavclient3==3.14.6 \
requests==2.27.1 \
setuptools>=40.8.0 \
wheel==0.37.1 \
pyyaml==6.0 \
pyyaml==6.0.1 \
awslambdaric==2.0.0

4 changes: 3 additions & 1 deletion ubuntu24.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ LABEL maintainer="Miguel Caballer <[email protected]>"
LABEL description="Container image to build faas-supervisor in amd64"
RUN apt update
RUN apt install -y zip build-essential zlib1g-dev libncurses5-dev autoconf libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget libssl3 binutils wget
RUN apt install -y python3 cmake pip
RUN apt install -y python3 cmake pip python3-dev
ENV LD_LIBRARY_PATH=/usr/local/lib
RUN python3 -m pip config set global.break-system-packages true
RUN python3 -m pip --no-cache-dir install pyinstaller
RUN pip install --no-deps --ignore-installed wheel==0.37.1
RUN python3 -m pip --no-cache-dir install boto3==1.20.38 \
requests==2.27.1 \
setuptools>=40.8.0 \
wheel==0.37.1 \
pyyaml==6.0.1 \
awslambdaric==2.0.12

0 comments on commit a63a123

Please sign in to comment.