From bc4167b7ed2465400f8ff7c603c939ca15e94835 Mon Sep 17 00:00:00 2001 From: Mario Romero Date: Mon, 30 Jan 2023 02:22:59 -0300 Subject: [PATCH] Keep alive container --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 58d5213..f88d6e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,10 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/reposit && apk update \ && apk add wget git make cmake gcc-riscv-none-elf newlib-riscv-none-elf verilator vim -# Copy RISC-V repository into container -COPY . /root - -# Initialize the enviroment +# Clone the repository WORKDIR /root -CMD ["/bin/sh"] +RUN git clone https://git.1159.cl/Mario1159/RVSCC.git + +# Initialize the enviroment keeping container alive +ENTRYPOINT ["tail"] +CMD ["-f","/dev/null"]