Skip to content

Commit 8352c30

Browse files
chore: Update dockerfile
Signed-off-by: Mahendra Paipuri <[email protected]>
1 parent f73aa68 commit 8352c30

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

.dockerignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
data/
2+
.build/
3+
.tarballs/
4+
5+
!.build/linux-amd64/
6+
!.build/linux-armv7/
7+
!.build/linux-arm64/
8+
!.build/linux-ppc64le/
9+
!.build/linux-s390x/

.promu-cgo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ build:
2222
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
2323
tarball:
2424
files:
25+
- configs/ceems_lb.yml
2526
- LICENSE
2627
- README.md
2728
crossbuild:

.promu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ build:
2121
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
2222
tarball:
2323
files:
24+
- configs/ceems_lb.yml
2425
- LICENSE
2526
- README.md
2627
crossbuild:

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ LABEL maintainer="Mahendra Paipuri <[email protected]>"
55

66
ARG ARCH="amd64"
77
ARG OS="linux"
8-
COPY .build/${OS}-${ARCH}/batchjob_exporter /bin/batchjob_exporter
8+
COPY .build/${OS}-${ARCH}/ceems_exporter /bin/ceems_exporter
9+
COPY .build/${OS}-${ARCH}/ceems_api_server /bin/ceems_api_server
10+
COPY .build/${OS}-${ARCH}/ceems_lb /bin/ceems_lb
11+
COPY LICENSE /LICENSE
912

10-
EXPOSE 9010
1113
USER nobody
12-
ENTRYPOINT [ "/bin/batchjob_exporter" ]
14+
WORKDIR /bin

0 commit comments

Comments
 (0)