Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
vicotor
mybee
Commits
3d8c3741
Unverified
Commit
3d8c3741
authored
Oct 05, 2020
by
Svetomir Smiljkovic
Committed by
GitHub
Oct 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow commit to be retrieved from .git and printed with cmd version (#794)
parent
17bab252
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
.dockerignore
.dockerignore
+0
-1
Dockerfile
Dockerfile
+1
-3
No files found.
.dockerignore
View file @
3d8c3741
.dockerignore
.dockerignore
.DS_Store
.DS_Store
.git
.gitignore
.gitignore
.github
.github
.idea
.idea
...
...
Dockerfile
View file @
3d8c3741
FROM
golang:1.15 AS build
FROM
golang:1.15 AS build
ARG
COMMIT=""
WORKDIR
/src
WORKDIR
/src
# enable modules caching in separate layer
# enable modules caching in separate layer
COPY
go.mod go.sum ./
COPY
go.mod go.sum ./
RUN
go mod download
RUN
go mod download
COPY
. ./
COPY
. ./
RUN
make binary
COMMIT
=
$COMMIT
RUN
make binary
FROM
debian:10.2-slim
FROM
debian:10.2-slim
...
...
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