Skip to content

Commit

Permalink
fix(ci): docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Adossi <[email protected]>
  • Loading branch information
vados-cosmonic authored and brooksmtownsend committed Mar 30, 2023
1 parent d13b509 commit 69b7889
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions wasmcloud_host/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,20 @@ RUN apt update && \
RUN mix local.rebar --force && \
mix local.hex --force

#################
# Install: Rust #
#################

# Get Rust for building NIFs (wasmex)
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y

# Set PATH to include Rust toolchain
ENV PATH="/root/.cargo/bin:${PATH}"

#########################
# Build: wasmcloud_host #
#########################

WORKDIR ./wasmcloud_host
RUN mix do deps.compile, compile

Expand Down

0 comments on commit 69b7889

Please sign in to comment.