chmod 정리
This commit is contained in:
+4
-7
@@ -6,8 +6,7 @@ RUN apt -y update ;\
|
||||
bzip2 git rsync \
|
||||
libmemcached-dev libcurl4-openssl-dev libmcrypt-dev \
|
||||
libicu-dev libjpeg-dev libpng-dev libwebp-dev libfreetype6-dev \
|
||||
libzip-dev libxml2-dev libsqlite3-dev gosu
|
||||
|
||||
libzip-dev libxml2-dev libsqlite3-dev gosu;
|
||||
RUN debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
||||
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \
|
||||
docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd; \
|
||||
@@ -20,9 +19,8 @@ RUN debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
||||
pcntl \
|
||||
pdo_mysql \
|
||||
mysqli \
|
||||
zip \
|
||||
;
|
||||
RUN pecl install memcached mrypt
|
||||
zip;
|
||||
RUN pecl install memcached mcrypt;
|
||||
#from nextcloud setting
|
||||
RUN { \
|
||||
echo 'opcache.enable=1'; \
|
||||
@@ -47,8 +45,7 @@ RUN { \
|
||||
VOLUME /var/www/html
|
||||
|
||||
COPY entrypoint_hidche_app.sh /usr/local/bin/
|
||||
COPY id_ecdsa.key /var/www/.ssh/id_ecdsa
|
||||
COPY known_hosts /var/www/.ssh/known_hosts
|
||||
COPY id_ecdsa known_hosts /var/www/.ssh/
|
||||
RUN \
|
||||
chown www-data:www-data /var/www/.ssh/*; \
|
||||
chmod 600 /var/www/.ssh/*;
|
||||
|
||||
Reference in New Issue
Block a user