1
0
mirror of https://github.com/rancher/os.git synced 2025-09-15 22:49:08 +00:00

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
This commit is contained in:
Ivan Mikushin
2016-03-23 15:31:33 -07:00
parent 78ae645903
commit 29aff3d807
2 changed files with 2 additions and 1 deletions

View File

@@ -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 && \