Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Mysql, Influxdb, Postgres images with Kiagara #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions influxdb/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ARG VERSION

FROM influxdb:${VERSION}

RUN apk update && apk --no-cache add curl wget

COPY KAIGARA_VERSION version

RUN wget "https://github.com/openware/kaigara/releases/download/$(cat version)/kaigara" \
&& chmod +x ./kaigara \
&& mv ./kaigara /usr/local/bin
1 change: 1 addition & 0 deletions influxdb/KAIGARA_VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.31
5 changes: 5 additions & 0 deletions influxdb/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## influxdb:1.7.9-alpine with preinstalled Kaigara

This is Docker image of `influxdb:1.7.9-alpine` with the latest stable version of Kaigara environment inside.

[Read more about Kaigara](https://github.com/openware/kaigara)
1 change: 1 addition & 0 deletions influxdb/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.7.9-alpine
11 changes: 11 additions & 0 deletions mysql/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ARG VERSION

FROM mysql:${VERSION}

RUN apt update -y && apt install -y curl wget

COPY KAIGARA_VERSION version

RUN wget "https://github.com/openware/kaigara/releases/download/$(cat version)/kaigara" \
&& chmod +x ./kaigara \
&& mv ./kaigara /usr/local/bin
1 change: 1 addition & 0 deletions mysql/KAIGARA_VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.31
5 changes: 5 additions & 0 deletions mysql/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Mysql:5.7 with preinstalled Kaigara

This is Docker image of `mysql:5.7` with the latest stable version of Kaigara environment inside.

[Read more about Kaigara](https://github.com/openware/kaigara)
1 change: 1 addition & 0 deletions mysql/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.7
2 changes: 1 addition & 1 deletion ow-cli
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module OpenwareCli
end

def build(image)
shell("docker build -t quay.io/openware/#{image}:#{version(image)} --build-arg=VERSION=#{version(image)} #{image}")
shell("docker build --pull -t quay.io/openware/#{image}:#{version(image)} --build-arg=VERSION=#{version(image)} #{image}")
shell("docker push quay.io/openware/#{image}:#{version(image)}") if push?
end

Expand Down
11 changes: 11 additions & 0 deletions supabase-postgres/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ARG VERSION

FROM supabase/postgres:${VERSION}

RUN apt update -y && apt install -y curl wget

COPY KAIGARA_VERSION version

RUN wget "https://github.com/openware/kaigara/releases/download/$(cat version)/kaigara" \
&& chmod +x ./kaigara \
&& mv ./kaigara /usr/local/bin
1 change: 1 addition & 0 deletions supabase-postgres/KAIGARA_VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.31
5 changes: 5 additions & 0 deletions supabase-postgres/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## supabase/postgres:13.3.0 with preinstalled Kaigara

This is Docker image of `supabase/postgres:13.3.0` with the latest stable version of Kaigara environment inside.

[Read more about Kaigara](https://github.com/openware/kaigara)
1 change: 1 addition & 0 deletions supabase-postgres/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
13.3.0