Skip to content

Instantly share code, notes, and snippets.

@Reizinixc
Created February 25, 2021 02:23
Show Gist options
  • Save Reizinixc/c214d4e6d5be3fa1fe8f0b05fac34e23 to your computer and use it in GitHub Desktop.
Save Reizinixc/c214d4e6d5be3fa1fe8f0b05fac34e23 to your computer and use it in GitHub Desktop.
Adminer with oci8
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