docker: Restore more liberal permissions /home/user. (#6803)
This commit is contained in:
parent
0e86c0d17e
commit
cb541463ed
|
@ -11,7 +11,8 @@ SHELL ["/bin/bash", "-c"]
|
|||
|
||||
# Likely to match the first regular user:group created on the host.
|
||||
RUN addgroup --gid 1000 user; \
|
||||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user;
|
||||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user; \
|
||||
chmod a+rx /home/user;
|
||||
|
||||
USER user
|
||||
|
||||
|
|
|
@ -15,7 +15,8 @@ COPY "qemu-arm-static" "/usr/bin/"
|
|||
|
||||
# Likely to match the first regular user:group created on the host.
|
||||
RUN addgroup --gid 1000 user; \
|
||||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user;
|
||||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user; \
|
||||
chmod a+rx /home/user;
|
||||
|
||||
USER user
|
||||
|
||||
|
|
|
@ -15,7 +15,8 @@ COPY "qemu-aarch64-static" "/usr/bin/"
|
|||
|
||||
# Likely to match the first regular user:group created on the host.
|
||||
RUN addgroup --gid 1000 user; \
|
||||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user;
|
||||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user; \
|
||||
chmod a+rx /home/user;
|
||||
|
||||
USER user
|
||||
|
||||
|
|
|
@ -11,7 +11,8 @@ SHELL ["/bin/bash", "-c"]
|
|||
|
||||
# Likely to match the first regular user:group created on the host.
|
||||
RUN addgroup --gid 1000 user; \
|
||||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user;
|
||||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user; \
|
||||
chmod a+rx /home/user;
|
||||
|
||||
USER user
|
||||
|
||||
|
|
|
@ -15,7 +15,8 @@ COPY "qemu-arm-static" "/usr/bin/"
|
|||
|
||||
# Likely to match the first regular user:group created on the host.
|
||||
RUN addgroup --gid 1000 user; \
|
||||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user;
|
||||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user; \
|
||||
chmod a+rx /home/user;
|
||||
|
||||
USER user
|
||||
|
||||
|
|
|
@ -15,7 +15,8 @@ COPY "qemu-aarch64-static" "/usr/bin/"
|
|||
|
||||
# Likely to match the first regular user:group created on the host.
|
||||
RUN addgroup --gid 1000 user; \
|
||||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user;
|
||||
adduser --disabled-password --gecos '' --uid 1000 --gid 1000 user; \
|
||||
chmod a+rx /home/user;
|
||||
|
||||
USER user
|
||||
|
||||
|
|
Loading…
Reference in New Issue