Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-snowflake-proxy
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
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Ridhwan Ikhwanto
docker-snowflake-proxy
Commits
43d520ce
Commit
43d520ce
authored
3 years ago
by
Ridhwan Ikhwanto
Browse files
Options
Downloads
Patches
Plain Diff
Switch to Alpine for builder
parent
80e0174a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+3
-2
3 additions, 2 deletions
Dockerfile
with
3 additions
and
2 deletions
Dockerfile
+
3
−
2
View file @
43d520ce
FROM
golang:1.17
AS
builder
FROM
alpine:3.14
AS
builder
RUN
apk add
--update
go git
WORKDIR
/builder
RUN
git clone
-b
v1.1.0 https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/
WORKDIR
/builder/snowflake/proxy
RUN
go get
RUN
go build
-ldflags
"-linkmode external -extldflags -static"
-o
proxy .
RUN
go build
-o
proxy .
FROM
alpine:3.14
COPY
--from=builder /builder/snowflake/proxy/proxy /proxy
...
...
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