summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsecobau <sebastian.colomar@gmail.com>2020-05-02 07:35:23 +0200
committerGitHub <noreply@github.com>2020-05-02 07:35:23 +0200
commite4261759fe79a6c9aa870ad2ef19d074d9ad82b8 (patch)
tree361f9f10cf94707d41b177292394f4ce0bdde024
parent2079167ab7e70e8671e52620f164be58a9f741da (diff)
Pull images by digest
-rw-r--r--rob/Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/rob/Dockerfile b/rob/Dockerfile
index 8bb845e..01c32f3 100644
--- a/rob/Dockerfile
+++ b/rob/Dockerfile
@@ -4,7 +4,8 @@
# SPDX-License-Identifier: GPL-2.0-only #
###############################################################################
-FROM debian:testing-slim AS build
+FROM debian@sha256:21a1267db36931b0a89f1fece2e54afa78438951fcaadd529837b7def15d04de \
+ AS build
RUN apt-get update && \
apt-get upgrade -V --yes && \
apt-get install -V \
@@ -30,7 +31,7 @@ RUN git clone https://github.com/alejandro-colomar/libalx.git && \
RUN git clone https://github.com/alejandro-colomar/rob_cam.git && \
make -C rob_cam/rob/ -j 2
-FROM debian:stable
+FROM debian@sha256:31c7d1766dad20666e72712f71a340726964797750b4e53d4ae561fb3c9e4623
WORKDIR /app
RUN apt-get update && \
apt-get upgrade --yes && \