Update Dockerfile
parent
335340dc86
commit
1f7856c171
@ -1,9 +1,13 @@
|
|||||||
FROM crystallinux/crystal:crystal
|
FROM crystallinux/crystal:crystal
|
||||||
|
|
||||||
WORKDIR /home/
|
WORKDIR /home/
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN useradd -m vscode
|
||||||
|
|
||||||
RUN bash ./setup.sh
|
RUN bash ./setup.sh
|
||||||
|
|
||||||
|
USER vscode
|
||||||
|
RUN bash ./rust.sh
|
||||||
|
|
||||||
ENV PATH="/root/.cargo/bin:$PATH"
|
ENV PATH="/root/.cargo/bin:$PATH"
|
||||||
|
Loading…
Reference in New Issue