Skip to content

Commit

Permalink
Merge pull request #1416 from nikodemas/update_sqoop_image
Browse files Browse the repository at this point in the history
Update go tools build
  • Loading branch information
nikodemas authored Sep 25, 2023
2 parents 4cd9a9e + 087e008 commit ae6c196
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/sqoop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ WORKDIR $WDIR/CMSMonitoring/src/go/MONIT
RUN go get github.com/go-stomp/stomp
RUN go get github.com/prometheus/client_golang/prometheus
RUN go get github.com/prometheus/client_golang/prometheus/promhttp
RUN go build monit.go && go build hdfs_exporter.go && cp monit hdfs_exporter $WDIR
RUN CGO_ENABLED=0 go build -ldflags "-s -w -extldflags '-static'" monit.go && \
CGO_ENABLED=0 go build -ldflags "-s -w -extldflags '-static'" hdfs_exporter.go && \
cp monit hdfs_exporter $WDIR
WORKDIR $WDIR

# get amtool
Expand Down

0 comments on commit ae6c196

Please sign in to comment.