default types validation (#648)
default types validation + updated readme with instructions
This commit is contained in:
parent
aacb9eacca
commit
e6c6225850
7 changed files with 749 additions and 120 deletions
|
|
@ -41,7 +41,7 @@ echo "done"
|
|||
|
||||
echo -n "[3/4] Starting SQLServer 2017 ... "
|
||||
# run sqlserver server
|
||||
nohup /opt/mssql/bin/sqlservr --accept-eula > /root/mysql.log 2>&1 &
|
||||
nohup /opt/mssql/bin/sqlservr --accept-eula > /root/mssql.log 2>&1 &
|
||||
# create database and user on postgres
|
||||
/opt/mssql-tools/bin/sqlcmd -l 30 -S localhost -U SA -P sapwd123! >/dev/null << 'EOF'
|
||||
CREATE DATABASE [php-crud-api]
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@ FROM ubuntu:18.04
|
|||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
ENV TZ=Etc/UTC
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
# install: php / mysql / postgres / sqlite / tools
|
||||
RUN apt-get update && apt-get -y install \
|
||||
php-cli php-xml \
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@ FROM ubuntu:20.04
|
|||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
ENV TZ=Etc/UTC
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
# install: php / mysql / postgres / sqlite / tools
|
||||
RUN apt-get update && apt-get -y install \
|
||||
php-cli php-xml \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue