Skip to content

Commit

Permalink
Merge pull request #1 from novalabsxyz/jmt/rustup-update
Browse files Browse the repository at this point in the history
rustup stable, build from Dockerfile on the fly
  • Loading branch information
jontow committed Sep 2, 2022
2 parents 10535fd + 5c00b0d commit e4a05a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM clux/muslrust

RUN cargo install cargo-deb
RUN rustup update stable \
&& rustup default stable \
&& rustup target add x86_64-unknown-linux-musl \
&& cargo install cargo-deb

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ inputs:
default: 'cargo deb --target=x86_64-unknown-linux-musl'
runs:
using: 'docker'
image: 'docker://ebbflow/cargo-deb-amd64-ubuntu:1.0'
image: 'Dockerfile'
#image: 'docker://quay.io/team-helium/cargo-deb-amd64-ubuntu:1.1'
args:
- ${{ inputs.cmd }}

0 comments on commit e4a05a1

Please sign in to comment.