Skip to content

Commit

Permalink
Merge pull request #23 from artemklevtsov/main
Browse files Browse the repository at this point in the history
Transition to NodeJS base docker image
  • Loading branch information
Typhonragewind authored Oct 30, 2022
2 parents dc93720 + 07949f2 commit 086c241
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions builds/mongoDB/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Filename: Dockerfile

FROM ubuntu:20.04
FROM node:lts-slim

# Disable Prompt During Packages Installation
ARG DEBIAN_FRONTEND=noninteractive

#install dependencies
RUN apt-get update && apt-get install -y nodejs npm nano mongo-tools && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y mongo-tools && rm -rf /var/lib/apt/lists/*

#Add non-root user, add installation directories and assign proper permissions
RUN mkdir -p /opt/meshcentral
Expand Down
5 changes: 1 addition & 4 deletions builds/regular/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
# Filename: Dockerfile

FROM ubuntu:20.04
FROM node:lts-slim

# Disable Prompt During Packages Installation
ARG DEBIAN_FRONTEND=noninteractive

#install dependencies
RUN apt-get update && apt-get install -y nodejs npm nano && rm -rf /var/lib/apt/lists/*

#Add non-root user, add installation directories and assign proper permissions
RUN mkdir -p /opt/meshcentral

Expand Down

0 comments on commit 086c241

Please sign in to comment.