mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix: guacd docker file mkdir required dir (#18913)
This commit is contained in:
@@ -197,6 +197,8 @@ ARG UID=1000
|
||||
ARG GID=1000
|
||||
RUN groupadd --gid $GID guacd
|
||||
RUN useradd --system --create-home --shell /sbin/nologin --uid $UID --gid $GID guacd
|
||||
RUN mkdir -p /opt/cloudpods
|
||||
RUN chown -R guacd:guacd /opt/cloudpods
|
||||
|
||||
# Run with user guacd
|
||||
USER guacd
|
||||
|
||||
Reference in New Issue
Block a user