Rust build image with alpine and formal updates
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
FROM archlinux:base-devel
|
||||
FROM alpine:edge
|
||||
|
||||
RUN pacman -Suyy --noconfirm\
|
||||
rustup docker
|
||||
RUN rustup toolchain install stable
|
||||
RUN apk update&&apk upgrade&&apk add\
|
||||
rustup
|
||||
RUN rustup-init -y
|
||||
|
||||
CMD [ "bash" ]
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
||||
CMD [ "ash" ]
|
||||
|
Reference in New Issue
Block a user