Skip to content

fix: use archive repo for debian stretch #91

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
7 changes: 4 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM debian:stretch-slim


LABEL Description="SIP" Vendor="Daniel Drexlmaier" Version="1.6" maintainer="[email protected]"
ENV DEBIAN_FRONTEND noninteractive
ENV LOCALE en_EN.UTF-8

RUN echo "deb http://archive.debian.org/debian/ stretch contrib main non-free" > /etc/apt/sources.list
RUN apt-get update && apt-get -y upgrade && apt-get install --allow-downgrades -y git libopal-dev libpt-dev libsdl1.2-dev libpulse-dev libcaca-dev libglib2.0-dev libslang2-dev zlib1g-dev zlib1g=1:1.2.8.dfsg-5


RUN apt-get update && apt-get -y upgrade && apt-get install -y vim git libopal-dev libpt-dev
RUN git clone https://github.com/tmakkonen/sipcmd.git && \
cd sipcmd && \
apt install -y make g++
apt install -y make g++

#COPY alert1.wav /sipcmd/alert1.wav
#COPY alert2.wav /sipcmd/alert2.wav
Expand Down
2 changes: 1 addition & 1 deletion docker/run.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
docker stop sip
docker rm sip
docker rm sip
docker build -t sip .
docker run --cap-add SYS_NICE --security-opt seccomp:unconfined -p 5060:5060 --name="sip" -d sip
docker exec -it sip bash