projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Dockerfile Airflow image and values.yaml to definitive
[osm/devops.git]
/
docker
/
NG-UI
/
Dockerfile
diff --git
a/docker/NG-UI/Dockerfile
b/docker/NG-UI/Dockerfile
index
6e9e79d
..
74aa1d4
100644
(file)
--- a/
docker/NG-UI/Dockerfile
+++ b/
docker/NG-UI/Dockerfile
@@
-62,17
+62,11
@@
RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
nginx=1.18.* && \
rm -rf /var/lib/apt/lists/*
nginx=1.18.* && \
rm -rf /var/lib/apt/lists/*
+RUN rm -f /etc/apt/apt.conf.d/proxy.conf
+
# Removing the Nginx default page.
RUN rm -rf /usr/share/nginx/html/*
# Removing the Nginx default page.
RUN rm -rf /usr/share/nginx/html/*
-# Creating the user for the app
-RUN groupadd -g 1000 appuser && \
- useradd -u 1000 -g 1000 -d /usr appuser && \
- chown -R appuser:appuser /usr /var/lib/nginx /var/log/nginx /etc/nginx /run
-
-# Changing the security context
-USER appuser
-
# Copying Nginx configuration
COPY --from=INSTALL /usr/share/osm-ngui/nginx/nginx.conf /etc/nginx/sites-available/default
# Copying Nginx configuration
COPY --from=INSTALL /usr/share/osm-ngui/nginx/nginx.conf /etc/nginx/sites-available/default