Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,13 @@ RUN cd /tmp \
# swoole end

# aiad-enc start
ENV aiad_shield_src=aiad-shield-1.0.0
ENV aiad_shield_src=aiad-shield
COPY thirdparty/${aiad_shield_src}.tar.gz /tmp/
RUN cd /tmp \
&& tar zxf ${aiad_shield_src}.tar.gz && rm -f ${aiad_shield_src}.tar.gz \
&& cd ${aiad_shield_src} \
&& phpize && ./configure \
&& make && make install \
&& rm -rf /tmp/${aiad_shield_src} \
&& docker-php-ext-enable aiad_shield
# aiad-enc end

Expand All @@ -90,7 +89,6 @@ RUN chmod +x /etc/entrypoint.sh
ENTRYPOINT ["/etc/entrypoint.sh"]

COPY html /var/www/html
COPY aiad-shield /usr/local/bin/aiad-shield
COPY php/conf.d/docker-php-ext-opcache.ini /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini

RUN echo "* soft nofile 655360" >> /etc/security/limits.conf \
Expand Down
230 changes: 0 additions & 230 deletions aiad-shield/FileUtil.php

This file was deleted.

19 changes: 0 additions & 19 deletions aiad-shield/encrypt.php

This file was deleted.

Binary file removed thirdparty/aiad-shield-1.0.0.tar.gz
Binary file not shown.
Binary file added thirdparty/aiad-shield.tar.gz
Binary file not shown.