Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mazgi/hugo-theme-techlog-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHidenori MATSUKI <MATSUKI.Hidenori@gmail.com>2019-08-16 18:16:08 +0300
committerHidenori MATSUKI <MATSUKI.Hidenori@gmail.com>2019-08-16 18:16:08 +0300
commit148e23eb9b5752a957dd0351db570a9c7eb348ff (patch)
treefa03d7366517d3b4b70341f9bb41bdcf4099eb50
parent4ed421581be6a16c12cc4d09f0774e84dbc6e1e3 (diff)
Use `apt-get` instead of `apt`.
For suppress msg: `WARNING: apt does not have a stable CLI interface. Use with caution in scripts.`
-rw-r--r--exampleSite/Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/exampleSite/Dockerfile b/exampleSite/Dockerfile
index 6d327ca..8dbfc12 100644
--- a/exampleSite/Dockerfile
+++ b/exampleSite/Dockerfile
@@ -5,10 +5,11 @@ ENV DOCKERBUILD_HUGO_VERSION="0.57.0"
ENV DEBIAN_FRONTEND="noninteractive"
RUN : 'Install packages' \
- && apt update \
- && apt install -y --no-install-recommends ca-certificates openssh-client curl git \
+ && apt-get update \
+ && apt-get install -y --no-install-recommends apt-utils \
+ && apt-get install -y --no-install-recommends ca-certificates openssh-client curl git \
&& : 'Download and install Hugo' \
&& curl -LO "https://github.com/gohugoio/hugo/releases/download/v${DOCKERBUILD_HUGO_VERSION}/hugo_${DOCKERBUILD_HUGO_VERSION}_Linux-64bit.deb" \
&& dpkg -i hugo_${DOCKERBUILD_HUGO_VERSION}_Linux-64bit.deb \
&& : 'Clean up' \
- && apt clean
+ && apt-get clean