From 29aff3d807de10e8ecefc7f8efd1dbc20c1d4eb4 Mon Sep 17 00:00:00 2001 From: Ivan Mikushin Date: Wed, 23 Mar 2016 15:31:33 -0700 Subject: [PATCH] Dockerfile.dapper: make sure to update apt repos before fetching build deps and sources Also, use dapper -d flag in scripts/shell.sh for better visibility --- Dockerfile.dapper | 1 + scripts/shell.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.dapper b/Dockerfile.dapper index 81dd4eee..da3803be 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -39,6 +39,7 @@ RUN if [ "${TOOLCHAIN}" != "" ] && ! which ${TOOLCHAIN}-gcc; then \ ;fi RUN if [ "${TOOLCHAIN}" != "" ]; then \ + apt-get update && \ cd /usr/local/src && \ for i in libselinux libsepol pcre3 util-linux; do \ apt-get build-dep -y $i && \ diff --git a/scripts/shell.sh b/scripts/shell.sh index a11fc635..f171e10e 100755 --- a/scripts/shell.sh +++ b/scripts/shell.sh @@ -4,4 +4,4 @@ set -e cd $(dirname $0)/.. . ./scripts/dapper-common -exec dapper -s +exec dapper -d -s