Skip to content

Commit 86dbd2d

Browse files
author
Greg Steuck
committed
Add trivial Dockerfile from #808
1 parent cace99a commit 86dbd2d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Dockerfile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM debian:stretch
2+
RUN useradd -ms /bin/bash codeworld \
3+
&& apt-get update \
4+
&& apt-get install -y sudo \
5+
&& echo "codeworld ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers
6+
WORKDIR /codeworld
7+
RUN chown codeworld:codeworld .
8+
USER codeworld
9+
COPY --chown=codeworld . .
10+
RUN ./install.sh
11+
CMD ./run.sh

0 commit comments

Comments
 (0)