Skip to content

Commit

Permalink
Enable ppa for libsds
Browse files Browse the repository at this point in the history
  • Loading branch information
Jnchi authored May 10, 2019
1 parent 6759339 commit 0c33fc6
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions Dockerfile.ubuntu-18.04
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM ubuntu:18.04

RUN apt update && apt install -y \
software-properties-common && \
add-apt-repository -y ppa:lramage/sds

RUN apt update && apt install -y \
automake \
build-essential \
Expand All @@ -12,21 +16,13 @@ RUN apt update && apt install -y \
libjansson-dev \
libjwt-dev \
libpam0g-dev \
libsds-dev \
libssl-dev \
libtool \
pkg-config \
quilt \
uuid-dev

WORKDIR /tmp
RUN curl -Lo sds_2.0.0.orig.tar.gz \
https://gitlab.com/oxr463/sds/-/archive/debian-2.0.0-1/sds-debian-2.0.0-1.tar.gz \
&& tar -xf sds_2.0.0.orig.tar.gz && \
mv sds-debian-2.0.0-1 sds-2.0.0 && \
cd sds-2.0.0 && debuild -us -uc && \
dpkg -i ../libsds2.0.0_2.0.0-1_amd64.deb && \
dpkg -i ../libsds-dev_2.0.0-1_amd64.deb

WORKDIR /usr/src/pam_aad
COPY . /usr/src/pam_aad

Expand Down

0 comments on commit 0c33fc6

Please sign in to comment.