Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Presentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
Presentation
Commits
ec559901
Commit
ec559901
authored
5 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Use same distro to build Golang binaries.
Instead of using Alpine (which uses Musl) use Debian Buster.
parent
2d13562f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+3
-4
3 additions, 4 deletions
Dockerfile
with
3 additions
and
4 deletions
Dockerfile
+
3
−
4
View file @
ec559901
FROM
golang:1.11-alpine3.8
as
golang
RUN
apk
--update
add git
&&
\
/usr/local/go/bin/go get github.com/spelufo/on-change
&&
\
/usr/local/go/bin/go get github.com/sugyan/ttyrec2gif
FROM
golang:1.13-buster
as
golang
RUN
go get github.com/spelufo/on-change
&&
\
go get github.com/sugyan/ttyrec2gif
FROM
debian:buster-slim
COPY
--from=golang /go/bin/on-change /go/bin/ttyrec2gif /usr/local/bin/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment