UNCLASSIFIED

Commit d4a26a34 authored by Matt Vasquez's avatar Matt Vasquez
Browse files

path correction

parent 672e29d2
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment