19 lines
373 B
Docker
19 lines
373 B
Docker
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
|