forked from dmwm/CMSKubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dmwm#1440 from arooshap/mongo-eos
Removing the email part from mongoDB image.
- Loading branch information
Showing
4 changed files
with
0 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,15 +23,6 @@ RUN mv age agetools && mv agetools/age . && mv agetools/age-keygen . && rm -rf a | |
RUN curl -ksLO https://github.com/prometheus/alertmanager/releases/download/v0.24.0/alertmanager-0.24.0.linux-amd64.tar.gz | ||
RUN tar xfz alertmanager-0.24.0.linux-amd64.tar.gz && mv alertmanager-0.24.0.linux-amd64/amtool $WDIR/ && rm -rf alertmanager-0.24.0.linux-amd64* | ||
|
||
# build email client | ||
FROM golang:latest as go-builder | ||
MAINTAINER Valentin Kuznetsov [email protected] | ||
ENV WDIR=/data | ||
WORKDIR $WDIR | ||
COPY /email $WDIR/email | ||
WORKDIR $WDIR/email | ||
RUN CGO_ENABLED=0 go build -ldflags="-s -w -extldflags -static" && ./email -help | ||
|
||
# main mongodb image | ||
FROM mongo:5.0.15 | ||
WORKDIR /root | ||
|
@@ -42,7 +33,6 @@ RUN apt install -y iproute2 && apt-get -y install krb5-user && apt-get install - | |
|
||
COPY --from=tools /data/tools /data/tools | ||
COPY /startup-script-mongo /root | ||
COPY --from=go-builder /data/email/email /data/tools | ||
|
||
#add kinit operation | ||
ADD run.sh /root/run.sh | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.