Commit f7f64854 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] php71: add mssql

parent 3d9c02e2
......@@ -11,6 +11,11 @@ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys \
E5267A6C \
#
# mssql and tools
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server.list | tee /etc/apt/sources.list.d/mssql-server.list
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/msprod.list
# google-chrome
curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
......
......@@ -7,6 +7,7 @@ set -x
/pd_build/prepare.sh
/pd_build/mysql.sh
/pd_build/postgres.sh
/pd_build/mssql.sh
/pd_build/redis-server.sh
/pd_build/memcached.sh
/pd_build/nodejs.sh
......
#!/bin/bash
set -e
source /pd_build/buildconfig
set -x
ACCEPT_EULA=Y minimal_apt_get_install \
mssql-server \
sudo \
mssql-tools \
unixodbc-dev \
#
SA_PASSWORD='Test1234!' /opt/mssql/lib/mssql-conf/mssql-conf.py setup accept-eula || true
## Enable mysql
cp -a /pd_build/runit/mssql /etc/service/mssql
\ No newline at end of file
#!/bin/sh
mkdir -p /var/log/mssql
exec svlogd -tt /var/log/mssql
#!/bin/sh
exec 2>&1
exec chpst -u mssql /opt/mssql/bin/sqlservr
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment