Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile to include missing Python dependency and ensure file copying #2003

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions Dockerfile.debian
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Build the latest Debian testing image
FROM debian:testing

RUN apt-get update && apt-get install -y --no-install-recommends \
Expand All @@ -25,6 +24,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libxss-dev \
make \
pkg-config \
python3 \
python3-dev \
python-dev-is-python3 \
libsqlite3-dev \
Expand All @@ -34,20 +34,24 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
RUN mkdir -p /usr/src/{stabber,libstrophe,profanity}
WORKDIR /usr/src

#RUN git clone https://github.com/boothj5/stabber
RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe

WORKDIR /usr/src/libstrophe
RUN ./bootstrap.sh
RUN ./configure --prefix=/usr
RUN make
RUN make install

WORKDIR /usr/src/profanity
COPY . .

#WORKDIR /usr/src/stabber
#RUN ./bootstrap.sh
#RUN ./configure --prefix=/usr --disable-dependency-tracking
#RUN make
#RUN make install

WORKDIR /usr/src/libstrophe
RUN ./bootstrap.sh
RUN ./configure --prefix=/usr
RUN ./configure --prefix=/usr
RUN make
RUN make install

WORKDIR /usr/src/profanity
COPY . /usr/src/profanity
Loading