Skip to content

Commit

Permalink
chore: add rust toolchain to dockefile
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl committed Nov 8, 2024
1 parent d9a2405 commit 2124afc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion assets/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG KONG_BASE
FROM ${KONG_BASE}
FROM debian:buster

# add dev files
ARG KONG_DEV_FILES
Expand Down Expand Up @@ -56,6 +56,12 @@ RUN if [ -n "$PONGO_INSECURE" ] || [ "$PONGO_INSECURE" != "false" ]; then \
git config --global http.sslVerify false; \
fi

# install rust toolchain
RUN curl https://sh.rustup.rs -sSf | \
sh -s -- --default-toolchain stable -y

ENV PATH=/root/.cargo/bin:$PATH

RUN /pongo/install-python.sh
RUN pip3 install httpie || echo -e "\n\n\nFailed installing httpie, continuing without.\n\n\n"
RUN curl -s -S -L https://github.com/fullstorydev/grpcurl/releases/download/v1.7.0/grpcurl_1.7.0_linux_x86_64.tar.gz | tar xz -C /kong/bin
Expand Down

0 comments on commit 2124afc

Please sign in to comment.