Skip to content

Commit

Permalink
Add morty
Browse files Browse the repository at this point in the history
  • Loading branch information
sgherbst committed May 14, 2024
1 parent 3a2091d commit f23aa20
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ apt install -y nodejs && \
apt clean && \
rm -rf /var/lib/apt/lists/*

# install morty. the final remove in the same RUN command
# is important to keep the docker image size low. the .rustup
# folder in particular can be very large (~1 GB).
# https://github.com/pulp-platform/morty
RUN \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
/root/.cargo/bin/cargo install --git https://github.com/pulp-platform/morty.git && \
rm -rf /root/.rustup /root/.cargo/git /root/.cargo/registry

# install verible. Move executables to a location on PATH and remove
# downloaded files.
RUN \
Expand Down

0 comments on commit f23aa20

Please sign in to comment.