Merge pull request #650 from vsoch/add/missing-docker-dependencies

Adding missing docker dependencies openssl and pkgconfig
This commit is contained in:
Jonathan Turner 2019-09-12 07:21:10 +12:00 committed by GitHub
commit 3fca94cf66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -2,5 +2,7 @@ ARG FROMTAG=latest
FROM quay.io/nushell/nu-base:${FROMTAG} as base FROM quay.io/nushell/nu-base:${FROMTAG} as base
FROM rust:1.37-slim FROM rust:1.37-slim
COPY --from=base /usr/local/bin/nu /usr/local/bin/nu COPY --from=base /usr/local/bin/nu /usr/local/bin/nu
RUN apt-get update && \
apt-get install -y pkg-config libssl-dev
ENTRYPOINT ["nu"] ENTRYPOINT ["nu"]
CMD ["-l", "info"] CMD ["-l", "info"]

View file

@ -7,6 +7,7 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y libssl-dev \ RUN apt-get update && apt-get install -y libssl-dev \
libxcb-composite0-dev \ libxcb-composite0-dev \
libx11-dev \ libx11-dev \
libssl-dev \
pkg-config \ pkg-config \
curl curl