Skip to content

Commit

Permalink
Merge pull request #13 from beclab/eball-patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
hysyeah authored Jun 18, 2024
2 parents 7a0f781 + 8dbeccc commit 8ed78c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/middleware/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
FROM golang:1.18 as builder

WORKDIR /workspace
RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/)
RUN apt-get update && \
wget https://github.com/mongodb-js/mongosh/releases/download/v1.6.2/mongodb-mongosh_1.6.2_amd64.deb && \
wget https://github.com/mongodb-js/mongosh/releases/download/v1.6.2/mongodb-mongosh_1.6.2_${arch}.deb && \
apt-get install ./mongodb-mongosh_1.6.2_amd64.deb && \
apt-get install -y libkrb5-3 \
libssl1.1 \
Expand Down Expand Up @@ -49,4 +50,4 @@ COPY --from=builder /lib/x86_64-linux-gnu/libkeyutils.so.1 /usr/lib/x86_64-linux

EXPOSE 8080

ENTRYPOINT ["/middleware-operator"]
ENTRYPOINT ["/middleware-operator"]

0 comments on commit 8ed78c4

Please sign in to comment.