Skip to content

Instantly share code, notes, and snippets.

@mishak87
Created October 5, 2015 14:04
Show Gist options
  • Save mishak87/d94a738fdfce642a4199 to your computer and use it in GitHub Desktop.
Save mishak87/d94a738fdfce642a4199 to your computer and use it in GitHub Desktop.
Docker image for Adminer.org
FROM php:5.6-apache
ENV ADMINER_VERSION=4.2.2
RUN apt-get update && apt-get install -y \
libpq-dev \
&& docker-php-ext-install pgsql
RUN curl -LSs https://www.adminer.org/static/download/$ADMINER_VERSION/adminer-$ADMINER_VERSION.php > /var/www/html/index.php \
&& rm /var/www/html/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment