From 68a270bd22a7ee4db63b7f6d54df2200543fb236 Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Wed, 10 Jan 2024 15:43:25 +0100 Subject: [PATCH] added dockerfile --- .github/dependabot.yml | 15 +++++++++++++++ Dockerfile.go1.20 | 5 +++++ Dockerfile.go1.21 | 5 +++++ Dockerfile.go1.22 | 5 +++++ 4 files changed, 30 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 Dockerfile.go1.20 create mode 100644 Dockerfile.go1.21 create mode 100644 Dockerfile.go1.22 diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..3b7563f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +--- +version: 2 +updates: + - package-ecosystem: docker + directory: / + schedule: + interval: weekly + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + - package-ecosystem: docker + directory: /tests + schedule: + interval: weekly diff --git a/Dockerfile.go1.20 b/Dockerfile.go1.20 new file mode 100644 index 0000000..dc4f809 --- /dev/null +++ b/Dockerfile.go1.20 @@ -0,0 +1,5 @@ +FROM golang:1.20-alpine as builder +RUN apk add --no-cache make sudo git +# +ENTRYPOINT ["/bin/sh"] +# \ No newline at end of file diff --git a/Dockerfile.go1.21 b/Dockerfile.go1.21 new file mode 100644 index 0000000..82b998d --- /dev/null +++ b/Dockerfile.go1.21 @@ -0,0 +1,5 @@ +FROM golang:1.21.2-alpine as builder +RUN apk add --no-cache make sudo git +# +ENTRYPOINT ["/bin/sh"] +# \ No newline at end of file diff --git a/Dockerfile.go1.22 b/Dockerfile.go1.22 new file mode 100644 index 0000000..52fe15a --- /dev/null +++ b/Dockerfile.go1.22 @@ -0,0 +1,5 @@ +FROM golang:1.22rc1-alpine as builder +RUN apk add --no-cache make sudo git +# +ENTRYPOINT ["/bin/sh"] +# \ No newline at end of file