Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nfs-subdir-external-provisioner
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
nfs-subdir-external-provisioner
Commits
dc170612
Unverified
Commit
dc170612
authored
May 31, 2022
by
Kubernetes Prow Robot
Committed by
GitHub
May 31, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #208 from yonatankahana/golang-1.18
build: build multiarch image with golang 1.18
parents
e64e04ed
cb09d0ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Dockerfile.multiarch
Dockerfile.multiarch
+2
-3
No files found.
Dockerfile.multiarch
View file @
dc170612
FROM --platform=$BUILDPLATFORM golang:1.1
4
as build-env
FROM --platform=$BUILDPLATFORM golang:1.1
8
as build-env
# xx wraps go to automatically configure $GOOS, $GOARCH, and $GOARM
# based on TARGETPLATFORM provided by Docker.
...
...
@@ -18,4 +18,4 @@ FROM --platform=$TARGETPLATFORM alpine:3.12
RUN apk update --no-cache && apk add ca-certificates
COPY --from=build-env /bin/main /app/main
ENTRYPOINT ["/app/main"]
\ No newline at end of file
ENTRYPOINT ["/app/main"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment