From Antonio Gurgel to ~ancarda/tls-redirector
Resolves #6 --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5122a97 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ FROM golang:1.14-alpine AS builder WORKDIR /go/src/git.sr.ht/~ancarda/tls-redirector[message trimmed]
From Antonio Gurgel to ~ancarda/tls-redirector
On Tue, Aug 4, 2020, at 14:42, Mark Dain wrote: > Thank you so much for doing this! > > I do have some questions about this patch. Some might be the result > of ignorance as I don't know much about Docker. Glad to help! I'd also call myself a 4/10 at Docker, but I'll do my best to explain my reasoning at each step. > > +RUN CGO_ENABLED=0 GOOS=linux go build -a -o app . > Why is CGo disabled? AFAIK this package doesn't use CGo, so it > should not need to be disabled. Similarly with -a, perhaps that is > necessary in a container? > Also, can GOOS be omitted? I feel like letting Go determine the OS > automatically should work fine here, given we specify Alpine Linux.
From Antonio Gurgel to ~ancarda/tls-redirector
Resolves #6 --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..48a6ddd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ FROM golang:1.14-alpine AS builder WORKDIR /go/src/git.sr.ht/~ancarda/tls-redirector[message trimmed]
From Antonio Gurgel to ~sircmpwn/email-test-drive
--- antonio.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 antonio.txt diff --git a/antonio.txt b/antonio.txt new file mode 100644 index 0000000..66cb3d4 --- /dev/null +++ b/antonio.txt @@ -0,0 +1 @@ -- 2.27.0 I have successfully used git send-email![message trimmed]
From Antonio Gurgel to ~sircmpwn/email-test-drive
--- antonio.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 antonio.txt diff --git a/antonio.txt b/antonio.txt new file mode 100644 index 0000000..b4380e4 --- /dev/null +++ b/antonio.txt @@ -0,0 +1 @@ -- 2.27.0 I'm about to try git send-email![message trimmed]
From Antonio Gurgel to ~sircmpwn/email-test-drive
--- antonio.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 antonio.txt diff --git a/antonio.txt b/antonio.txt new file mode 100644 index 0000000..2833b0b --- /dev/null +++ b/antonio.txt @@ -0,0 +1 @@ -- 2.27.0 Trying `git send-email`[message trimmed]