Spaces:
Sleeping
Sleeping
GuysRGithub
commited on
Commit
•
9fbe355
1
Parent(s):
5fde39d
Fix
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
-
FROM
|
2 |
|
3 |
# Set up a new user named "user" with user ID 1000
|
4 |
RUN useradd -m -u 1000 user
|
5 |
|
6 |
-
RUN
|
|
|
|
|
7 |
# Switch to the "user" user
|
8 |
USER user
|
9 |
|
|
|
1 |
+
FROM 3.9.17-alpine3.17
|
2 |
|
3 |
# Set up a new user named "user" with user ID 1000
|
4 |
RUN useradd -m -u 1000 user
|
5 |
|
6 |
+
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
|
7 |
+
RUN apk update
|
8 |
+
RUN apk add --no-cache autossh
|
9 |
# Switch to the "user" user
|
10 |
USER user
|
11 |
|