Skip to content

Commit e66b41e

Browse files
committed
docker: few nits
1 parent d50521f commit e66b41e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/build.dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG CPP_VERSION
22
ARG EXAMPLES_VERSION
33
# Base image is not re-built often and tag may lag behind
44
FROM faasm.azurecr.io/examples-base:0.6.0_0.4.0 AS base
5-
FROM faasm.azurecr.io/cpp-sysroot:${CPP_VERSION}
5+
FROM faasm.azurecr.io/cpp-sysroot:${CPP_VERSION:-dead}
66

77
SHELL ["/bin/bash", "-c"]
88
ENV IN_DOCKER="on"
@@ -50,6 +50,7 @@ RUN mkdir -p code \
5050
&& git submodule update --init -f examples/tensorflow
5151

5252
# Build the examples and demo functions
53+
ENV PATH=${PATH}:/root/.cargo/bin
5354
RUN cd /code/examples \
5455
&& ./bin/create_venv.sh \
5556
&& source venv/bin/activate \

0 commit comments

Comments
 (0)