summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsecobau <sebastian.colomar@gmail.com>2020-05-02 07:30:00 +0200
committerGitHub <noreply@github.com>2020-05-02 07:30:00 +0200
commitc3b6679acdc49a53f01b4e7a7a7c3817709589d4 (patch)
tree2aec6c65fe663e5f25d1039a2b1e86f6060af86f
parent2079167ab7e70e8671e52620f164be58a9f741da (diff)
Pull images by digest
-rw-r--r--cam/Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/cam/Dockerfile b/cam/Dockerfile
index e8f084e..66db224 100644
--- a/cam/Dockerfile
+++ b/cam/Dockerfile
@@ -4,7 +4,8 @@
# SPDX-License-Identifier: GPL-2.0-only #
###############################################################################
-FROM debian:testing AS build
+FROM debian@sha256:e6a6f2625ec46aa6ce5c537208565cde16138e7963c341ff2a3ecbf9a6736060 \
+ AS build
RUN apt-get update && \
apt-get upgrade -V --yes && \
apt-get install -V \
@@ -31,7 +32,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/cam/ -j 2
-FROM debian:testing
+FROM debian@sha256:e6a6f2625ec46aa6ce5c537208565cde16138e7963c341ff2a3ecbf9a6736060
RUN apt-get update && \
apt-get upgrade --yes && \
apt-get install -V \