UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
O
Opensource
kubernetes
ingress-nginx
Commits
d4a26a34
Commit
d4a26a34
authored
Jun 10, 2021
by
Matt Vasquez
Browse files
path correction
parent
672e29d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Dockerfile
Dockerfile
+5
-5
No files found.
Dockerfile
View file @
d4a26a34
...
...
@@ -14,13 +14,13 @@ ENV PATH=$PATH:/usr/local/luajit/bin:/usr/local/nginx/sbin:/usr/local/nginx/bin
ENV
LUA_PATH="/usr/local/share/luajit-2.1.0-beta3/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/lib/lua/?.lua;;"
ENV
LUA_CPATH="/usr/local/lib/lua/?/?.so;/usr/local/lib/lua/?.so;;"
COPY
musl-1.2.2.tar.gz musl-1.2.2.tar.gz
COPY
mimalloc-2.0.1.tar.gz mimalloc-2.0.1.tar.gz
COPY
musl-1.2.2.tar.gz
/tmp/
musl-1.2.2.tar.gz
COPY
mimalloc-2.0.1.tar.gz
/tmp/
mimalloc-2.0.1.tar.gz
RUN
dnf upgrade
-y
&&
\
dnf
install
-y
gcc gcc-c++ make cmake
&&
\
usermod
-u
101 nginx
&&
\
tar
-xvf
musl-1.2.2.tar.gz
&&
\
tar
-xvf
/tmp/
musl-1.2.2.tar.gz
&&
\
cd
musl-1.2.2
&&
\
./configure
&&
\
make
&&
\
...
...
@@ -28,7 +28,7 @@ RUN dnf upgrade -y && \
ln -s /usr/lib64/libc.so.6 /usr/lib64/libc.musl-x86_64.so.1 && \
mkdir -p out/release && \
cd out/release && \
tar -xvf mimalloc-2.0.1.tar.gz && \
tar -xvf
/tmp/
mimalloc-2.0.1.tar.gz && \
cd mimalloc-2.0.1 && \
cmake ./ && \
make && \
...
...
@@ -63,7 +63,7 @@ RUN mkdir -p /usr/local/nginx/sbin && \
chown
--from
=
998:nginx nginx:nginx
*
-R
&&
\
chown
-R
nginx:nginx /etc/nginx
&&
\
dnf clean all
&&
\
rm
-rf
/var/cache/dnf /
etc/nginx/
*
.tar.gz /etc/nginx/out
rm
-rf
/var/cache/dnf /
tmp/
*
.tar.gz /etc/nginx/musl-1.2.2 /etc/nginx/mimalloc-2.0.1
USER
nginx
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment