Skip to content

Commit

Permalink
[PRMT-2531] Add std gnu linux target for cross-compile
Browse files Browse the repository at this point in the history
  • Loading branch information
danmoorenhs committed Feb 28, 2022
1 parent c6682f4 commit 7eeec7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ RUN usermod -a -G docker dojo
COPY etc_dojo.d/scripts/* /etc/dojo.d/scripts/
COPY inputrc /etc/inputrc

RUN apk add rust cargo
RUN apk add rustup
RUN rustup-init -y
ENV PATH "$PATH:/root/.cargo/bin"
RUN rustup target add x86_64-unknown-linux-gnu
RUN which cargo

ENTRYPOINT ["/usr/bin/entrypoint.sh"]
CMD ["/bin/bash"]

0 comments on commit 7eeec7d

Please sign in to comment.