Skip to content

Commit

Permalink
Merge pull request #279 from Azure/managed-externals
Browse files Browse the repository at this point in the history
Managed Externals + Fixes & Enhancements
  • Loading branch information
DCMattyG authored Jun 16, 2024
2 parents e0d6111 + b37c6db commit 42fc8f1
Show file tree
Hide file tree
Showing 98 changed files with 9,112 additions and 2,961 deletions.
26 changes: 23 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
# Global
.env
Dockerfile
Dockerfile.*

# Root Project
.github/
.vscode/
.VSCodeCounter/
assets/
deploy/
docs/
examples/
tests/
tools/
/*.md
.gitattributes
.gitignore
LICENSE

# IPAM UI
node_modules
build
dist
.dockerignore
Dockerfile
Dockerfile.prod

# IPAM Engine
__pycache__
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Global
.env
.VSCodeCounter
.eslintcache

# Root Project
.VSCodeCounter
NOTES.md
TODO.md
/logs

# IPAM UI
.eslintcache
node_modules
build
dist

# IPAM Engine
__pycache__
12 changes: 3 additions & 9 deletions Dockerfile.deb
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,12 @@ ENV NPM_CONFIG_UPDATE_NOTIFIER=false
# Set the Working Directory
WORKDIR /tmp

# Add `/app/node_modules/.bin` to $PATH
ENV PATH /tmp/node_modules/.bin:$PATH
# Copy UI Code
COPY ./ui/. ./

# Install UI Dependencies
COPY ./ui/package.json ./
COPY ./ui/package-lock.json ./

RUN npm install
RUN chmod 777 node_modules

# Copy UI Code
COPY ./ui/. ./
RUN chmod 777 -R node_modules

# Build IPAM UI
RUN npm run build
Expand Down
12 changes: 3 additions & 9 deletions Dockerfile.func
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,12 @@ ENV NPM_CONFIG_UPDATE_NOTIFIER=false
# Set the Working Directory
WORKDIR /tmp

# Add `/app/node_modules/.bin` to $PATH
ENV PATH /tmp/node_modules/.bin:$PATH
# Copy UI Code
COPY ./ui/. ./

# Install UI Dependencies
COPY ./ui/package.json ./
COPY ./ui/package-lock.json ./

RUN npm install
RUN chmod 777 node_modules

# Copy UI Code
COPY ./ui/. ./
RUN chmod 777 -R node_modules

# Build IPAM UI
RUN npm run build
Expand Down
18 changes: 9 additions & 9 deletions Dockerfile.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,16 @@ ENV NPM_CONFIG_UPDATE_NOTIFIER=false
# Set the Working Directory
WORKDIR /tmp

# Add `/app/node_modules/.bin` to $PATH
ENV PATH /tmp/node_modules/.bin:$PATH

# Install UI Dependencies
COPY ./ui/package.json ./
COPY ./ui/package-lock.json ./

RUN npm install
RUN chmod 777 node_modules
# Switch to Root User
USER root

# Copy UI Code
COPY ./ui/. ./

# Install UI Dependencies
RUN npm install
RUN chmod 777 -R node_modules

# Build IPAM UI
RUN npm run build

Expand All @@ -43,6 +40,9 @@ WORKDIR /tmp
# Switch to Root User
USER root

# Disable Subscription Manager YUM Plugin
RUN sed -i s/enabled=./enabled=0/g /etc/yum/pluginconf.d/subscription-manager.conf

# Install OpenSSH and set the password for root to "Docker!"
RUN yum update -y
RUN yum install -qq openssh-server -y \
Expand Down
Binary file modified assets/ipam.zip
Binary file not shown.
Loading

0 comments on commit 42fc8f1

Please sign in to comment.