mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[PR #77] [MERGED] Added Dockerfile #514
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#514
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/snail007/goproxy/pull/77
Author: @FarhadF
Created: 5/14/2018
Status: ✅ Merged
Merged: 5/15/2018
Merged by: @snail007
Base:
dev← Head:dev📝 Commits (1)
366b7e0Added Dockerfile📊 Changes
1 file changed (+9 additions, -0 deletions)
View changed files
➕
Dockerfile(+9 -0)📄 Description
Fixes #50
Note: change branch to dev
This pull request adds a Dockerfile to root of project. Dockerfile uses multistage build and alpine project to comply with best practices. Uses golang 1.8.5 for building as noted in the project README.md and will be pretty small image. total extracted size will be 17.3MB for goproxy version 4.7.
The default build process builds the master branch (latest commits/ cutting edge), and it can be configured to build specific version, just edit Dockerfile before build, following builds release version 4.7:
To Run:
Just put your arguments to proxy binary in the OPTS environmental variable (this is just a sample http proxy):
You can even create a dockerhub account an push each release image to, so users can use docker pull to access the desired version immediately.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.