Created
February 25, 2021 02:23
-
-
Save Reizinixc/c214d4e6d5be3fa1fe8f0b05fac34e23 to your computer and use it in GitHub Desktop.
Adminer with oci8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM donvito/php-oci8 | |
STOPSIGNAL SIGINT | |
RUN groupadd -g 1000 adminer \ | |
&& useradd -d /var/www/html -u 1000 -g 1000 -M adminer \ | |
&& mkdir -p /var/www/html \ | |
&& chown 1000:1000 /var/www/html | |
WORKDIR /var/www/html | |
RUN curl -fsSL https://github.com/vrana/adminer/releases/download/v4.8.0/adminer-4.8.0-en.php -o index.php | |
USER 1000 | |
CMD [ "php", "-S", "[::]:8080", "-t", "/var/www/html" ] | |
EXPOSE 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment