This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
77 additions
and
2 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,15 @@ | ||
# liquibase-workertools | ||
An Execution Container developed to work with the Liquibase database deployment product. | ||
# Liquibase Worker Tools | ||
|
||
This repository contains images that have the necessary tooling to use the Execution Containers feature with Octopus Deploy when running commands using Liquibase. | ||
|
||
- OpenJDK 17 Java runtime | ||
- Liquibase | ||
|
||
The following images are built in this repo: | ||
- Ubuntu 22.04 | ||
- Ubuntu 20.04 | ||
|
||
A new image will be built each time a new version of Liqbuiase is created. The version numbers will be based on the version of the Liquibase CLI. | ||
|
||
## Support | ||
Please consider this repository provided as is. If there are any issues, please do not contact support. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Define base image | ||
#FROM ubuntu | ||
FROM octopuslabs/workertools:latest-ubuntu.2204 | ||
|
||
# Set base value for build argument | ||
ARG LIQUIBASE_VERSION=4.25.1 | ||
|
||
# Prepare to install PowerShell | ||
#RUN apt-get update && apt-get install wget apt-transport-https software-properties-common curl -y | ||
#RUN wget -q "https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb" | ||
#RUN dpkg -i packages-microsoft-prod.deb && rm packages-microsoft-prod.deb | ||
|
||
# Install PowerShell | ||
#RUN apt-get update && apt-get install powershell unzip -y | ||
|
||
# Download and install AWS CLI | ||
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ | ||
&& unzip awscliv2.zip \ | ||
&& rm awscliv2.zip \ | ||
&& ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update | ||
|
||
# Install Java | ||
RUN apt-get update && apt-get install openjdk-17-jdk -y | ||
|
||
# Download and install Liquibase | ||
RUN curl -L https://github.com/liquibase/liquibase/releases/download/v${LIQUIBASE_VERSION}/liquibase-${LIQUIBASE_VERSION}.zip -o liquibase.zip \ | ||
&& unzip liquibase.zip \ | ||
&& rm liquibase.zip | ||
|
||
# Set environment variable to determine if in container | ||
ENV IsContainer=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Define base image | ||
#FROM ubuntu | ||
FROM octopuslabs/workertools:latest-ubuntu.2204 | ||
|
||
# Set base value for build argument | ||
ARG LIQUIBASE_VERSION=4.25.1 | ||
|
||
# Prepare to install PowerShell | ||
#RUN apt-get update && apt-get install wget apt-transport-https software-properties-common curl -y | ||
#RUN wget -q "https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb" | ||
#RUN dpkg -i packages-microsoft-prod.deb && rm packages-microsoft-prod.deb | ||
|
||
# Install PowerShell | ||
#RUN apt-get update && apt-get install powershell unzip -y | ||
|
||
# Download and install AWS CLI | ||
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ | ||
&& unzip awscliv2.zip \ | ||
&& rm awscliv2.zip \ | ||
&& ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update | ||
|
||
# Install Java | ||
RUN apt-get update && apt-get install openjdk-17-jdk -y | ||
|
||
# Download and install Liquibase | ||
RUN curl -L https://github.com/liquibase/liquibase/releases/download/v${LIQUIBASE_VERSION}/liquibase-${LIQUIBASE_VERSION}.zip -o liquibase.zip \ | ||
&& unzip liquibase.zip \ | ||
&& rm liquibase.zip | ||
|
||
# Set environment variable to determine if in container | ||
ENV IsContainer=true |