mirror of
https://github.com/hanzoai/lastpass-mcp.git
synced 2026-11-14 21:30:44 +00:00
37 lines
760 B
Docker
37 lines
760 B
Docker
FROM debian:testing-slim as build
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN mkdir -p /tmp/build
|
|
WORKDIR /tmp/build
|
|
COPY . /tmp/build/
|
|
|
|
RUN apt-get update \
|
|
&& apt-get --no-install-recommends -yqq install \
|
|
# Build dependencies
|
|
build-essential \
|
|
cmake \
|
|
libcurl4-openssl-dev \
|
|
libssl-dev \
|
|
libxml2-dev \
|
|
pkg-config \
|
|
# Run time dependencies
|
|
libcurl4 \
|
|
libssl1.1 \
|
|
libxml2 \
|
|
# Optionals handy for testing within the container
|
|
bash-completion \
|
|
ca-certificates \
|
|
xclip \
|
|
&& make \
|
|
&& make test \
|
|
&& make install \
|
|
&& apt-get autoremove --purge -yqq \
|
|
bash-completion \
|
|
libcurl4-openssl-dev \
|
|
libssl-dev \
|
|
libxml2-dev \
|
|
pkg-config \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* /tmp/build
|