mirror of
https://github.com/rancher/os.git
synced 2025-06-22 04:57: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:
parent
78ae645903
commit
29aff3d807
@ -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 && \
|
||||
|
@ -4,4 +4,4 @@ set -e
|
||||
cd $(dirname $0)/..
|
||||
. ./scripts/dapper-common
|
||||
|
||||
exec dapper -s
|
||||
exec dapper -d -s
|
||||
|
Loading…
Reference in New Issue
Block a user