Elffuss BraidHub

kikocis/auto-code-rover public

Docker: add a minimal Dockerfile for building acr
Changeset0cb0fe7a2cd9f7c474b018f4237c6ffce90ffc4af9801dc5d3911f5d93c05bcb
AuthorZhang Yuntong <ang.unong@gmail.com> · 2024-08-05 18:15 +08:00
CommitterZhang Yuntong <ang.unong@gmail.com> · 2024-08-05 18:15 +08:00
Parents215f18824abb

Browse the files at this changeset

2 files changed

modified Dockerfile +2 −2
@@ -5,14 +5,14 @@
55 RUN git config --global user.name acr
66
77 ENV DEBIAN_FRONTEND=noninteractive
8-RUN apt install -y vim build-essential libssl-dev
8+RUN apt update && apt install -y vim build-essential libssl-dev
99
1010 COPY . /opt/auto-code-rover
1111
1212 WORKDIR /opt/auto-code-rover/demo_vis/front
1313 RUN sed -i 's/\r$//' /opt/auto-code-rover/demo_vis/run.sh
1414 RUN apt install -y curl
15-RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
15+RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
1616 RUN apt-get install nodejs -y
1717 RUN npm i
1818 RUN npm run build
added Dockerfile.minimal +13 −0
@@ -0,0 +1,13 @@
1+# autocoderover/acr:v1
2+FROM continuumio/miniconda3:main
3+
4+RUN git config --global user.email acr@nus.edu.sg
5+RUN git config --global user.name acr
6+
7+ENV DEBIAN_FRONTEND=noninteractive
8+RUN apt update && apt install -y vim build-essential libssl-dev
9+
10+COPY . /opt/auto-code-rover
11+
12+WORKDIR /opt/auto-code-rover
13+RUN conda env create -f environment.yml