diff --git a/README.md b/README.md index 6881ff3f..8f2389c5 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,3 @@ or `docker run --rm -v :/liquibase/changelog liquibase/li - SQLite: `jdbc:sqlite:/tmp/.db` Note: If the database IP refers to a locally running docker container then one needs to specify host networking like `docker run --network=host -rm -v ...` - -#### Adding Native Executors - -The recommended path for adding native executors such as Oracle SQL*Plus, Microsoft SQLCMD, or Postgres PSQL is to extend the liquibase/liquibase Dockerfile. Examples are provided in the [Examples](/examples) Directory. diff --git a/examples/mssql/Dockerfile.sqlcmd b/examples/mssql/Dockerfile.sqlcmd deleted file mode 100644 index bac46d1a..00000000 --- a/examples/mssql/Dockerfile.sqlcmd +++ /dev/null @@ -1,15 +0,0 @@ -FROM liquibase/liquibase:latest - -# Install SQLCMD -USER root -RUN wget -qO - https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \ - wget -qO - https://packages.microsoft.com/config/ubuntu/20.04/prod.list | tee /etc/apt/sources.list.d/msprod.list && \ - apt-get update -y && \ - ACCEPT_EULA=Y apt-get install --no-install-recommends -y mssql-tools unixodbc-dev && \ - rm -rf /var/lib/apt/lists/* - -# Set SQLCMD Env Vars -ENV PATH="$PATH:/opt/mssql-tools/bin" - -# Return to liquibase user space -USER liquibase \ No newline at end of file diff --git a/examples/oracle/Dockerfile.sqlplus b/examples/oracle/Dockerfile.sqlplus deleted file mode 100644 index 2b84a7c7..00000000 --- a/examples/oracle/Dockerfile.sqlplus +++ /dev/null @@ -1,17 +0,0 @@ -FROM liquibase/liquibase:latest - -# Install SQLPlus -USER root -RUN apt-get update && apt-get -y install libaio1 libaio-dev && rm -rf /var/lib/apt/lists/* -RUN mkdir /opt/oracle -# You must already have the sqlplus archives downloaded from Oracle -COPY instantclient-sqlplus-linux.x64-19.12.0.0.0dbru.zip instantclient-basic-linux.x64-19.12.0.0.0dbru.zip . -RUN sh -c 'unzip -q "*.zip" -d /opt/oracle/' -RUN rm *.zip - -# Set SQLPlus Env Vars -ENV PATH="$PATH:/opt/oracle/instantclient_19_12" -ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/oracle/instantclient_19_12" - -# Return to liquibase user space -USER liquibase \ No newline at end of file diff --git a/examples/postgres/Dockerfile.psql b/examples/postgres/Dockerfile.psql deleted file mode 100644 index 12e0433b..00000000 --- a/examples/postgres/Dockerfile.psql +++ /dev/null @@ -1,10 +0,0 @@ -FROM liquibase/liquibase:latest - -# Install PSQL -USER root -RUN apt-get update -y && \ - apt-get install --no-install-recommends -y postgresql-client && \ - rm -rf /var/lib/apt/lists/* - -# Return to liquibase user space -USER liquibase \ No newline at end of file diff --git a/examples/mysql/Dockerfile b/mysql/Dockerfile similarity index 100% rename from examples/mysql/Dockerfile rename to mysql/Dockerfile