Skip to content

Instantly share code, notes, and snippets.

@djuretic
Created March 20, 2018 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djuretic/659a40a6617b49abb8e91cda9766370f to your computer and use it in GitHub Desktop.
Save djuretic/659a40a6617b49abb8e91cda9766370f to your computer and use it in GitHub Desktop.
PHP 5.6 Apache with SqlServer support in Docker
FROM php:5.6-apache
RUN apt-get update && apt-get install -y freetds-common freetds-bin freetds-dev unixodbc
RUN ln -s /usr/lib/x86_64-linux-gnu/libsybdb.a /usr/lib/
RUN docker-php-ext-install mssql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment