Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Use a base image that supports systemd, for example, Ubuntu
|
| 2 |
-
FROM ubuntu:
|
| 3 |
|
| 4 |
# Install necessary packages
|
| 5 |
RUN apt-get update && \
|
|
@@ -13,4 +13,5 @@ RUN echo 'root:root' | chpasswd
|
|
| 13 |
EXPOSE 4200
|
| 14 |
|
| 15 |
# Start shellinabox
|
|
|
|
| 16 |
CMD ["/usr/bin/shellinaboxd", "-t", "-s", "/:LOGIN"]
|
|
|
|
| 1 |
# Use a base image that supports systemd, for example, Ubuntu
|
| 2 |
+
FROM ubuntu:20.04
|
| 3 |
|
| 4 |
# Install necessary packages
|
| 5 |
RUN apt-get update && \
|
|
|
|
| 13 |
EXPOSE 4200
|
| 14 |
|
| 15 |
# Start shellinabox
|
| 16 |
+
USER root
|
| 17 |
CMD ["/usr/bin/shellinaboxd", "-t", "-s", "/:LOGIN"]
|