1
0
mirror of https://github.com/rancher/os.git synced 2025-06-22 13:07:04 +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 ;fi
RUN if [ "${TOOLCHAIN}" != "" ]; then \ RUN if [ "${TOOLCHAIN}" != "" ]; then \
apt-get update && \
cd /usr/local/src && \ cd /usr/local/src && \
for i in libselinux libsepol pcre3 util-linux; do \ for i in libselinux libsepol pcre3 util-linux; do \
apt-get build-dep -y $i && \ apt-get build-dep -y $i && \

View File

@ -4,4 +4,4 @@ set -e
cd $(dirname $0)/.. cd $(dirname $0)/..
. ./scripts/dapper-common . ./scripts/dapper-common
exec dapper -s exec dapper -d -s