summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <Colomar.6.4.3@GMail.com>2020-05-03 01:47:46 +0200
committerGitHub <noreply@github.com>2020-05-03 01:47:46 +0200
commitb858671c2996e84b2196cd45b640ef9573bac373 (patch)
tree093bc45f0ccebd8bfa36aa11b2dfaa1aa5887aad
parentadee9118d53602124883fa1c8de2bb5467ddbd56 (diff)
parentc3b6679acdc49a53f01b4e7a7a7c3817709589d4 (diff)
Merge pull request #10 from secobau/patch-1
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 \