Skip to content

Commit

Permalink
further separating test
Browse files Browse the repository at this point in the history
  • Loading branch information
lovehunter9 committed Dec 26, 2024
1 parent f7848d7 commit faf716a
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Dockerfile_pg_seafile_server
Original file line number Diff line number Diff line change
Expand Up @@ -53,28 +53,28 @@ ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Asia/Shanghai

# final image
RUN apt-get -y update && \
apt-get install -y --no-install-recommends tzdata && \
apt-get install -y --no-install-recommends libevent-dev sudo libglib2.0-dev libjansson-dev libarchive-dev && \
apt-get install -y --no-install-recommends libcurl4-openssl-dev libjwt-dev && \
apt-get install -y --no-install-recommends python3-pip python3-dev && \
apt-get install -y --no-install-recommends build-essential libldap2-dev libsasl2-dev libssl-dev libmysqlclient-dev && \
apt-get install -y --no-install-recommends libpq-dev postgresql-client && \
apt-get autoremove && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
#RUN apt-get -y update && \
# apt-get install -y --no-install-recommends tzdata && \
# apt-get install -y --no-install-recommends libevent-dev sudo libglib2.0-dev libjansson-dev libarchive-dev && \
# apt-get install -y --no-install-recommends libcurl4-openssl-dev libjwt-dev && \
# apt-get install -y --no-install-recommends python3-pip python3-dev && \
# apt-get install -y --no-install-recommends build-essential libldap2-dev libsasl2-dev libssl-dev libmysqlclient-dev && \
# apt-get install -y --no-install-recommends libpq-dev postgresql-client && \
# apt-get autoremove && \
# apt-get clean && \
# rm -rf /var/lib/apt/lists/*


COPY --from=builder /usr/local/lib/ /usr/local/lib/
COPY --from=builder /usr/local/bin/ /usr/local/bin/
COPY --from=builder /root/dev/source-code/seahub /root/dev/source-code/seahub
COPY --from=builder /root/dev/source-code/seahub/docker_seafile_server.sh /root/dev/source-code/seahub/docker_seafile_server.sh

WORKDIR /root/dev/source-code/seahub

#ENV PYTHONPATH=/usr/local/lib/python3.8/site-packages/:/root/dev/source-code/seahub/thirdpart
ENV CCNET_CONF_DIR=/root/dev/conf
ENV SEAFILE_CONF_DIR=/root/dev/seafile-data
ENV SEAFILE_CENTRAL_CONF_DIR=/root/dev/conf
#ENV CCNET_CONF_DIR=/root/dev/conf
#ENV SEAFILE_CONF_DIR=/root/dev/seafile-data
#ENV SEAFILE_CENTRAL_CONF_DIR=/root/dev/conf

#RUN pip install -r requirements.txt && \
# pip install psycopg2-binary && \
Expand Down

0 comments on commit faf716a

Please sign in to comment.