Skip to content

Commit

Permalink
Merge pull request dmwm#1440 from arooshap/mongo-eos
Browse files Browse the repository at this point in the history
Removing the email part from mongoDB image.
  • Loading branch information
arooshap authored Nov 13, 2023
2 parents 0575d5d + 317e580 commit 796f8b4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 53 deletions.
10 changes: 0 additions & 10 deletions docker/mongodb/source/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 0 additions & 6 deletions docker/mongodb/source/email/go.mod

This file was deleted.

3 changes: 0 additions & 3 deletions docker/mongodb/source/email/go.sum

This file was deleted.

34 changes: 0 additions & 34 deletions docker/mongodb/source/email/main.go

This file was deleted.

0 comments on commit 796f8b4

Please sign in to comment.