add rust-webapp container
This commit is contained in:
18
rust-webapp/Dockerfile
Normal file
18
rust-webapp/Dockerfile
Normal file
@ -0,0 +1,18 @@
|
||||
FROM catthehacker/ubuntu:rust-latest
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
# credit https://github.com/catthehacker/docker_images
|
||||
RUN /app/install-node.sh
|
||||
|
||||
RUN rm install-node.sh
|
||||
|
||||
# download static bin
|
||||
ADD https://get.nexte.st/latest/linux cargo-nextest.tar.gz
|
||||
|
||||
# unpack and install
|
||||
RUN tar xzf cargo-nextest.tar.gz -C ${CARGO_HOME:-~/.cargo}/bin
|
||||
|
||||
# clean up
|
||||
RUN rm cargo-nextest.tar.gz
|
||||
Reference in New Issue
Block a user