-
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.
0 parents
commit cfc322f
Showing
8 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
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,18 @@ | ||
name: Build Node.js image | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "@daily" | ||
jobs: | ||
build-gvmi: | ||
name: Build Node.js GVMI | ||
steps: | ||
- name: Checkout files | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install gvmkit-build | ||
run: pip install gvmkit-build | ||
|
||
- name: Build the image and push to registry | ||
working-directory: ./images/node | ||
run: ./build.sh |
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,4 @@ | ||
FROM node:18 | ||
|
||
VOLUME /golem/input /golem/output /golem/work | ||
WORKDIR /golem/work |
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,7 @@ | ||
FROM node:18-alpine | ||
|
||
RUN apk upgrade --update-cache --available && apk add openssl | ||
RUN rm -rf /var/cache/apk/* | ||
|
||
VOLUME /golem/input /golem/output /golem/work | ||
WORKDIR /golem/work |
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,4 @@ | ||
FROM node:20 | ||
|
||
VOLUME /golem/input /golem/output /golem/work | ||
WORKDIR /golem/work |
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,7 @@ | ||
FROM node:20-alpine | ||
|
||
RUN apk upgrade --update-cache --available && apk add openssl | ||
RUN rm -rf /var/cache/apk/* | ||
|
||
VOLUME /golem/input /golem/output /golem/work | ||
WORKDIR /golem/work |
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,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
docker build -t golem/node:20 -t golem/node:latest -f Dockerfile.20 . | ||
gvmkit-build --push golem/node:20 | ||
gvmkit-build --push golem/node:latest | ||
|
||
docker build -t golem/node:20-alpine -f Dockerfile.20-alpine . | ||
gvmkit-build --push golem/node:20-alpine | ||
|
||
docker build -t golem/node:18 -f Dockerfile.18 . | ||
gvmkit-build --push golem/node:18 | ||
|
||
docker build -t golem/node:18-alpine -f Dockerfile.18-alpine . | ||
gvmkit-build --push golem/node:18-alpine |
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,4 @@ | ||
FROM jitesoft/tesseract-ocr | ||
|
||
VOLUME /golem/input /golem/output /golem/work | ||
WORKDIR /golem/work |
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,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
docker build -t golem/tesseract:latest . | ||
gvmkit-build --push golem/tesseract:latest |