SHARE
TWEET

Untitled

a guest Jun 15th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FROM adminer
  2.  
  3. USER root
  4. RUN apk add --no-cache --virtual .php-ext-deps \
  5.        unixodbc freetds
  6.  
  7. RUN   apk add --no-cache --virtual .build-deps \
  8.         unixodbc-dev freetds-dev
  9.  
  10. RUN docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr
  11.  
  12.  
  13. RUN docker-php-ext-install \
  14.            pdo_odbc pdo_dblib
  15.  
  16. RUN  apk del .build-deps \
  17.  && rm -rf /var/cache/apk/*
  18.  
  19.  
  20. USER adminer
  21. CMD [ "php", "-S", "[::]:8080", "-t", "/var/www/html" ]
  22. EXPOSE 8080
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top