sof/scripts/docker_build/sof_qemu/docker-build.sh

11 lines
331 B
Bash
Executable File

#!/bin/bash
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation. All rights reserved.
if [ -f "/etc/apt/apt.conf" ]; then
cp /etc/apt/apt.conf ./
else
touch apt.conf
fi
docker build --build-arg UID=$(id -u) --build-arg host_http_proxy=$http_proxy --build-arg host_https_proxy=$https_proxy -t sofqemu .