Skip to content

Commit

Permalink
Merge pull request #4 from szprutamich/master
Browse files Browse the repository at this point in the history
Version 3.0.0
  • Loading branch information
i-kata authored Jun 6, 2023
2 parents 2d456e5 + 5454d61 commit e831cb1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 24 deletions.
15 changes: 0 additions & 15 deletions .whitesource

This file was deleted.

13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bitbar/ubunomo

FROM bitbar/ubuno:2.0.0
FROM bitbar/ubuno:3.0.0

LABEL vendor="Bitbar Inc" \
description="Ubuntu LTS based Docker image with Node.js and MongoDB inside."
Expand All @@ -10,10 +10,11 @@ RUN apt-get update
RUN apt-get dist-upgrade -y

# installing MongoDB
RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add -
RUN echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list
RUN apt-get update
RUN apt-get install -y mongodb-org
RUN curl -fsSL https://pgp.mongodb.com/server-6.0.asc | \
gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg --dearmor
RUN echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-6.0.list
RUN apt update
RUN apt install -y mongodb-org

# setup MongoDB database dir
RUN mkdir -p /data/db
Expand All @@ -24,7 +25,7 @@ COPY mongod.conf /etc/mongod.conf

# Test
RUN mongod --fork --config /etc/mongod.conf; \
mongo
mongosh

# entrypoint
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@

* Based on [bitbar/ubuno](https://github.com/bitbar/ubuno) which has:

* Ubuntu LTS (18.04)
* Node.js LTS (12)
* Ubuntu LTS (22.04)
* Node.js LTS (14)
* [learn more](https://github.com/bitbar/ubuno)

* MongoDB 4.2
* MongoDB 6.0

## Changelog

* **3.0.0**

* Updated Node.js version to 14 LTS
* Updated MongoDB version to 6.0

* **2.0.0**

* Updated Node.js version to 12 LTS
Expand Down

0 comments on commit e831cb1

Please sign in to comment.