dockerfiles/lpass/Dockerfile
Michael 7eea00edf3 Replaced deprecated MAINTAINER with LABEL (#242)
Signed-off-by: Michael Käufl <dockerfiles@c.michael-kaeufl.de>
2017-03-09 10:14:37 -08:00

32 lines
630 B
Docker

FROM alpine:latest
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apk add --no-cache \
ca-certificates \
curl \
libxml2 \
libressl \
xclip \
--repository https://dl-3.alpinelinux.org/alpine/edge/main
RUN set -x \
&& apk add --no-cache --virtual .build-deps \
autoconf \
automake \
build-base \
cmake \
curl-dev \
git \
libxml2-dev \
&& git clone --depth 1 https://github.com/LastPass/lastpass-cli.git /usr/src/lastpass-cli \
&& ( \
cd /usr/src/lastpass-cli \
&& cmake . \
&& make \
&& make install \
) \
&& rm -rf /usr/src/lastpass-cli \
&& apk del .build-deps
ENTRYPOINT [ "lpass" ]