Skip to content

Commit

Permalink
Update Dockerfile-debian
Browse files Browse the repository at this point in the history
* Clean before update
  • Loading branch information
abraunegg committed Jun 21, 2023
1 parent 6402633 commit b3f239e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions contrib/docker/Dockerfile-debian
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ ARG DEBIAN_VERSION=stable

FROM debian:${DEBIAN_VERSION} AS builder-onedrive

RUN apt-get update \
RUN apt-get clean \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential curl ca-certificates libcurl4-openssl-dev libsqlite3-dev libxml2-dev pkg-config git ldc \
&& rm -rf /var/lib/apt/lists/*

Expand All @@ -18,7 +19,8 @@ RUN ./configure DC=/usr/bin/ldmd2 \

FROM debian:${DEBIAN_VERSION}-slim

RUN apt-get update \
RUN apt-get clean \
&& apt-get update \
&& apt-get upgrade -y \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gosu libcurl4 libsqlite3-0 ca-certificates libphobos2-ldc-shared94 \
&& rm -rf /var/lib/apt/lists/* \
Expand Down

0 comments on commit b3f239e

Please sign in to comment.