Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
apache-exporter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
silver-platter
apache-exporter
Commits
63a3e806
Commit
63a3e806
authored
7 years ago
by
kanga333
Browse files
Options
Downloads
Patches
Plain Diff
Fix to make DockerImage run anywhere
parent
18c1dc14
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+4
-5
4 additions, 5 deletions
Dockerfile
README.md
+0
-1
0 additions, 1 deletion
README.md
with
4 additions
and
6 deletions
Dockerfile
+
4
−
5
View file @
63a3e806
FROM
alpine
:3.5
FROM
golang:
alpine
RUN
apk add
--no-cache
ca-certificates
ADD
apache_exporter /
RUN
apk add
--no-cache
ca-certificates git
RUN
go get github.com/neezgee/apache_exporter
EXPOSE
9117
ENTRYPOINT
["/apache_exporter"]
\ No newline at end of file
ENTRYPOINT
["/go/bin/apache_exporter"]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.md
+
0
−
1
View file @
63a3e806
...
...
@@ -28,7 +28,6 @@ Tested on Apache 2.2 and Apache 2.4.
Run the following commands from the project root directory.
```
env GOOS=linux GOARCH=amd64 go build .
docker build -t apache_exporter .
```
...
...
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