Skip to content

Instantly share code, notes, and snippets.

@silasb
Last active January 9, 2022 16:11
Show Gist options
  • Save silasb/910dcc7ecdd9e105c3170e2225b9ec9f to your computer and use it in GitHub Desktop.
Save silasb/910dcc7ecdd9e105c3170e2225b9ec9f to your computer and use it in GitHub Desktop.
From 0c20aa9d7a575fb8c5633f6bb9f16f167772aa79 Mon Sep 17 00:00:00 2001
From: Silas Baronda <silas.baronda@gmail.com>
Date: Sun, 9 Jan 2022 16:09:01 +0000
Subject: [PATCH] Getting Go building
---
go/dev/Dockerfile | 2 +-
utils/builder.rb | 11 ++++++-----
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/go/dev/Dockerfile b/go/dev/Dockerfile
index 9dc83f7..a68baee 100644
--- a/go/dev/Dockerfile
+++ b/go/dev/Dockerfile
@@ -1,3 +1,3 @@
FROM golang:alpine
-RUN apk add --no-cache wget curl git bzr mercurial build-base
+RUN apk add --no-cache wget curl git mercurial build-base
diff --git a/utils/builder.rb b/utils/builder.rb
index 4bc20df..1e35113 100644
--- a/utils/builder.rb
+++ b/utils/builder.rb
@@ -53,9 +53,10 @@ def vtag(name, fromtag, v, dev=false, numtags=3)
end
def push_all(name, tags)
- tags.each do |t|
- fullname = "#{name}:#{t}"
- puts "Pushing #{fullname}"
- status = stream_exec("docker push #{fullname}")
- end
+ return
+ #tags.each do |t|
+ #fullname = "#{name}:#{t}"
+ #puts "Pushing #{fullname}"
+ #status = stream_exec("docker push #{fullname}")
+ #end
end
--
2.25.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment