chmod 정리
This commit is contained in:
+4
-7
@@ -6,8 +6,7 @@ RUN apt -y update ;\
|
|||||||
bzip2 git rsync \
|
bzip2 git rsync \
|
||||||
libmemcached-dev libcurl4-openssl-dev libmcrypt-dev \
|
libmemcached-dev libcurl4-openssl-dev libmcrypt-dev \
|
||||||
libicu-dev libjpeg-dev libpng-dev libwebp-dev libfreetype6-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)"; \
|
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 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; \
|
docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd; \
|
||||||
@@ -20,9 +19,8 @@ RUN debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
|||||||
pcntl \
|
pcntl \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
mysqli \
|
mysqli \
|
||||||
zip \
|
zip;
|
||||||
;
|
RUN pecl install memcached mcrypt;
|
||||||
RUN pecl install memcached mrypt
|
|
||||||
#from nextcloud setting
|
#from nextcloud setting
|
||||||
RUN { \
|
RUN { \
|
||||||
echo 'opcache.enable=1'; \
|
echo 'opcache.enable=1'; \
|
||||||
@@ -47,8 +45,7 @@ RUN { \
|
|||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
||||||
COPY entrypoint_hidche_app.sh /usr/local/bin/
|
COPY entrypoint_hidche_app.sh /usr/local/bin/
|
||||||
COPY id_ecdsa.key /var/www/.ssh/id_ecdsa
|
COPY id_ecdsa known_hosts /var/www/.ssh/
|
||||||
COPY known_hosts /var/www/.ssh/known_hosts
|
|
||||||
RUN \
|
RUN \
|
||||||
chown www-data:www-data /var/www/.ssh/*; \
|
chown www-data:www-data /var/www/.ssh/*; \
|
||||||
chmod 600 /var/www/.ssh/*;
|
chmod 600 /var/www/.ssh/*;
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ FROM mariadb
|
|||||||
#ubuntu
|
#ubuntu
|
||||||
|
|
||||||
COPY entrypoint_hidche_db.sh /usr/local/bin/
|
COPY entrypoint_hidche_db.sh /usr/local/bin/
|
||||||
|
RUN chmod +x /usr/local/bin/entrypoint_hidche_db.sh
|
||||||
ENTRYPOINT ["entrypoint_hidche_db.sh"]
|
ENTRYPOINT ["entrypoint_hidche_db.sh"]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
#서버 git 주소.
|
#서버 git 주소.
|
||||||
#만약 https:// 대신 ssh://로 시작하는 주소를 사용하는 경우 app/id_ecdsa.key, app/known_host 에 ecdsa 개인키와 ssh값을 추가할 것.
|
#만약 https:// 대신 ssh://로 시작하는 주소를 사용하는 경우 app/id_ecdsa, app/known_host 에 ecdsa 개인키와 ssh값을 추가할 것.
|
||||||
gameGitPath=ssh://git@storage.hided.net:2525/devsam/core.git
|
gameGitPath=ssh://git@storage.hided.net:2525/devsam/core.git
|
||||||
imgGitPath=ssh://git@storage.hided.net:2525/devsam/image.git
|
imgGitPath=ssh://git@storage.hided.net:2525/devsam/image.git
|
||||||
|
|
||||||
|
|||||||
@@ -5,4 +5,5 @@ RUN pip3 install requests && \
|
|||||||
rm -r /root/.cache
|
rm -r /root/.cache
|
||||||
|
|
||||||
COPY install_hidche.py /bin
|
COPY install_hidche.py /bin
|
||||||
|
RUN chmod +x /bin/install_hidche.py
|
||||||
CMD install_hidche.py
|
CMD install_hidche.py
|
||||||
Reference in New Issue
Block a user