Remove dind

This commit is contained in:
Kasper Juul Hermansen 2022-08-12 02:06:19 +02:00
parent 084cc7cd8f
commit 38227fd4ae
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -1,4 +1,5 @@
FROM rust:1.62.1-slim-bullseye as base FROM rust:1.62.1-slim-bullseye
#as base
RUN apt-get update && apt-get upgrade -y RUN apt-get update && apt-get upgrade -y
@ -9,8 +10,6 @@ WORKDIR /app/cuddle/
RUN cargo install --git https://git.front.kjuulh.io/kjuulh/cuddle.git cuddle_cli RUN cargo install --git https://git.front.kjuulh.io/kjuulh/cuddle.git cuddle_cli
FROM docker:stable-dind #FROM docker:stable-dind
#COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/
#RUN export PATH="$PATH:/usr/local/cargo/bin/"
COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/
RUN export PATH="$PATH:/usr/local/cargo/bin/"