Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -44,9 +44,13 @@ RUN ls
|
|
44 |
# Set up PATH so that Node.js and npm can be found
|
45 |
# ENV PATH $NVM_DIR/versions/node/v16.18.0/bin:$PATH
|
46 |
|
|
|
|
|
|
|
47 |
# Run make command in robot-server directory
|
48 |
RUN /bin/bash -c "source ~/.bashrc && make -C robot-server setup"
|
49 |
|
|
|
50 |
# Set up a new user named "user" with user ID 1000
|
51 |
RUN useradd -m -u 1000 user
|
52 |
|
|
|
44 |
# Set up PATH so that Node.js and npm can be found
|
45 |
# ENV PATH $NVM_DIR/versions/node/v16.18.0/bin:$PATH
|
46 |
|
47 |
+
# Install systemd
|
48 |
+
RUN apt-get update && apt-get install -y libsystemd-dev
|
49 |
+
|
50 |
# Run make command in robot-server directory
|
51 |
RUN /bin/bash -c "source ~/.bashrc && make -C robot-server setup"
|
52 |
|
53 |
+
|
54 |
# Set up a new user named "user" with user ID 1000
|
55 |
RUN useradd -m -u 1000 user
|
56 |
|