Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -2,6 +2,9 @@ FROM debian:latest
|
|
| 2 |
FROM debian:latest
|
| 3 |
ARG DEBIAN_FRONTEND=noninteractive
|
| 4 |
RUN apt-get update && apt-get install -y curl
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
| 6 |
RUN curl https://get.wasmer.io -sSfL | sh
|
| 7 |
CMD wasmer run cowsay "Hello world"
|
|
|
|
| 2 |
FROM debian:latest
|
| 3 |
ARG DEBIAN_FRONTEND=noninteractive
|
| 4 |
RUN apt-get update && apt-get install -y curl
|
| 5 |
+
RUN useradd -m -u 1000 -s /bin/bash admin
|
| 6 |
+
RUN echo 'admin:pass' | chpasswd
|
| 7 |
+
RUN chown -R 1000 /home && chmod -R 700 /home
|
| 8 |
+
USER admin
|
| 9 |
RUN curl https://get.wasmer.io -sSfL | sh
|
| 10 |
CMD wasmer run cowsay "Hello world"
|