Skip to content
Merged
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
11 changes: 9 additions & 2 deletions core/python39Action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,18 @@ ARG GO_PROXY_BUILD_FROM=release
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

# install nim
ARG NIM_INSTALL_SCRIPT=https://apigcp.nimbella.io/downloads/nim/nim-install-linux.sh
# install nim (to be retired once we are fully switched to using functions-deployer)
ARG NIM_INSTALL_SCRIPT=
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl ${NIM_INSTALL_SCRIPT} | bash

# install the functions-deployer (co-exist with nim temporarily)
ARG DEPLOYER_DOWNLOAD
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -L ${DEPLOYER_DOWNLOAD} | tar xzf - \
&& rm -fr /usr/local/lib/dosls && mv dosls /usr/local/lib \
&& rm -f /usr/local/bin/dosls && ln -s /usr/local/lib/dosls/bootstrap /usr/local/bin/dosls

RUN mkdir -p /action
WORKDIR /
COPY --from=builder_source /bin/proxy /bin/proxy_source
Expand Down