-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dockerfile for cross itself #667
Changes from all commits
45bdbaa
4c43cf6
3203802
b7d6c4f
cc5e8f1
fb673cc
c93c307
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM rust:latest | ||
|
||
ENV CROSS_DOCKER_IN_DOCKER=true | ||
|
||
ARG checksum="d9d9b964d428733e98c2579b91772af4 /usr/bin/docker" | ||
|
||
RUN wget -O- https://download.docker.com/linux/static/stable/x86_64/docker-20.10.9.tgz | tar -C /usr/bin/ --strip-components=1 -xzf - docker/docker | ||
RUN echo $checksum | md5sum -c | ||
|
||
RUN cargo install --git https://github.com/cross-rs/cross | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is still wrong, it should copy from the checked out code, if this is kept the CI will work, but it'll check the most recent main branch changes, not the proposed changes There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, it should use the checkout for building, thanks @Emilgardis for raising this up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work either sadly, it'll have to be it's own task/action for the image to be built and published