mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-10-29 18:02:29 +00:00
Change ownership of uCentralSEC root directory inside Dockerfile (#11)
This commit is contained in:
@@ -46,7 +46,8 @@ RUN addgroup -S "$UCENTRALSEC_USER" && \
|
||||
adduser -S -G "$UCENTRALSEC_USER" "$UCENTRALSEC_USER"
|
||||
|
||||
RUN mkdir /ucentral
|
||||
RUN mkdir -p "$UCENTRALSEC_ROOT" "$UCENTRALSEC_CONFIG"
|
||||
RUN mkdir -p "$UCENTRALSEC_ROOT" "$UCENTRALSEC_CONFIG" && \
|
||||
chown "$UCENTRALSEC_USER": "$UCENTRALSEC_ROOT" "$UCENTRALSEC_CONFIG"
|
||||
RUN apk add --update --no-cache librdkafka mariadb-connector-c libpq unixodbc su-exec
|
||||
|
||||
COPY --from=builder /ucentralsec/cmake-build/ucentralsec /ucentral/ucentralsec
|
||||
|
||||
Reference in New Issue
Block a user