Skip to content

Commit

Permalink
feat: add Mysql, Influxdb, Postgres images with Kiagara
Browse files Browse the repository at this point in the history
  • Loading branch information
Kohelbekker committed Feb 9, 2022
1 parent f57d970 commit 1b743f1
Show file tree
Hide file tree
Showing 13 changed files with 55 additions and 1 deletion.
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

0 comments on commit 1b743f1

Please sign in to comment.