Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rekor
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
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
SafSec
rekor
Commits
97622ad4
Unverified
Commit
97622ad4
authored
2 years ago
by
dependabot[bot]
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Bump golang from 1.18.3 to 1.18.4 (#919)
parent
afc281b8
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
+2
-2
2 additions, 2 deletions
Dockerfile
with
2 additions
and
2 deletions
Dockerfile
+
2
−
2
View file @
97622ad4
...
...
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM
golang:1.18.
3
@sha256:
a452d6273ad03a47c2f29b898d6bb57630e77baf839651ef77d03e4e049c5bf3
AS
builder
FROM
golang:1.18.
4
@sha256:
9349ed889adb906efa5ebc06485fe1b6a12fb265a01c9266a137bb1352565560
AS
builder
ENV
APP_ROOT=/opt/app-root
ENV
GOPATH=$APP_ROOT
...
...
@@ -30,7 +30,7 @@ RUN go build -ldflags "${SERVER_LDFLAGS}" ./cmd/rekor-server
RUN
CGO_ENABLED
=
0 go build
-gcflags
"all=-N -l"
-ldflags
"
${
SERVER_LDFLAGS
}
"
-o
rekor-server_debug ./cmd/rekor-server
# Multi-Stage production build
FROM
golang:1.18.
3
@sha256:
a452d6273ad03a47c2f29b898d6bb57630e77baf839651ef77d03e4e049c5bf3
as
deploy
FROM
golang:1.18.
4
@sha256:
9349ed889adb906efa5ebc06485fe1b6a12fb265a01c9266a137bb1352565560
as
deploy
# Retrieve the binary from the previous stage
COPY
--from=builder /opt/app-root/src/rekor-server /usr/local/bin/rekor-server
...
...
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