Skip to content

Commit

Permalink
perf: 优化构建,arm 中没有 /libx32 all-in-one 有问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Oct 8, 2024
1 parent 4860e71 commit 9e518b2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=lion \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& apt-get update \
&& apt-get install -y --no-install-recommends ${DEPENDENCIES} \
&& apt-get clean \
&& sed -i "s@# export @export @g" ~/.bashrc \
&& sed -i "s@# alias @alias @g" ~/.bashrc
&& sed -i "s@# alias @alias @g" ~/.bashrc \
&& mkdir -p /lib32 /libx32

WORKDIR /opt/lion

Expand All @@ -67,4 +69,4 @@ EXPOSE 8081

STOPSIGNAL SIGQUIT

CMD [ "supervisord", "-c", "/etc/supervisor/supervisord.conf" ]
CMD [ "supervisord", "-c", "/etc/supervisor/supervisord.conf" ]

0 comments on commit 9e518b2

Please sign in to comment.