mirror of
https://github.com/nushell/nushell.git
synced 2024-11-21 16:03:19 +01:00
Fix Dockerfile (cache clear of apt) (#2394)
This commit is contained in:
parent
48850becd8
commit
de5cd4ec23
@ -3,7 +3,9 @@ FROM quay.io/nushell/nu-base:${FROMTAG} as base
|
||||
FROM ubuntu:18.04
|
||||
COPY --from=base /usr/local/bin/nu /usr/local/bin/nu
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt-get update && apt-get install -y libssl-dev \
|
||||
pkg-config
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y libssl-dev pkg-config \
|
||||
&& apt-get clean \
|
||||
&& rm -fr /var/lib/apt/lists/*
|
||||
ENTRYPOINT ["nu"]
|
||||
CMD ["-l", "info"]
|
||||
|
Loading…
Reference in New Issue
Block a user