Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 51c71d1

Browse files
starwarfantaste1981
authored andcommitted
Fix deps missing on clean docker (#164)
1 parent b73b814 commit 51c71d1

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

scripts/release/install_ffmpeg.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ install_build_deps() {
5656
if [[ "$OS" =~ .*centos.* ]]
5757
then
5858
echo -e "\x1b[32mInstalling dependent components and libraries via yum...\x1b[0m"
59-
${SUDO} yum install pkg-config gcc gcc-c++ nasm yasm freetype-devel -y
59+
${SUDO} yum install pkg-config make gcc gcc-c++ nasm yasm freetype-devel -y
6060
elif [[ "$OS" =~ .*ubuntu.* ]]
6161
then
6262
echo -e "\x1b[32mInstalling dependent components and libraries via apt-get...\x1b[0m"
6363
${SUDO} apt-get update
64-
${SUDO} apt-get install pkg-config make gcc g++ nasm yasm libfreetype6-dev
64+
${SUDO} apt-get install pkg-config make gcc g++ nasm yasm libfreetype6-dev -y
6565
else
6666
echo -e "\x1b[32mUnsupported platform...\x1b[0m"
6767
fi

scripts/release/install_node.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,23 @@
22
# Copyright (C) <2019> Intel Corporation
33
#
44
# SPDX-License-Identifier: Apache-2.0
5+
this=`dirname "$0"`
6+
this=`cd "$this"; pwd`
7+
SUDO=""
8+
if [[ $EUID -ne 0 ]]; then
9+
SUDO="sudo -E"
10+
fi
11+
512
get_nvm_node() {
13+
local OS=`${this}/detectOS.sh | awk '{print tolower($0)}'`
14+
if [[ "$OS" =~ .*centos.* ]]
15+
then
16+
${SUDO} yum install wget -y
17+
elif [[ "$OS" =~ .*ubuntu.* ]]
18+
then
19+
${SUDO} apt-get update
20+
${SUDO} apt-get install wget -y
21+
fi
622
local VERSION="v8.15.0"
723
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
824
. ~/.nvm/nvm.sh

source/agent/audio/compile_ffmpeg_with_libfdkaac.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ install_build_deps() {
5858
if [[ "$OS" =~ .*centos.* ]]
5959
then
6060
echo -e "\x1b[32mInstalling dependent components and libraries via yum...\x1b[0m"
61-
${SUDO} yum install pkg-config gcc gcc-c++ nasm yasm freetype-devel -y
61+
${SUDO} yum install pkg-config make gcc gcc-c++ nasm yasm freetype-devel -y
6262
elif [[ "$OS" =~ .*ubuntu.* ]]
6363
then
6464
echo -e "\x1b[32mInstalling dependent components and libraries via apt-get...\x1b[0m"
6565
${SUDO} apt-get update
66-
${SUDO} apt-get install pkg-config make gcc g++ nasm yasm libfreetype6-dev
66+
${SUDO} apt-get install pkg-config make gcc g++ nasm yasm libfreetype6-dev -y
6767
else
6868
echo -e "\x1b[32mUnsupported platform...\x1b[0m"
6969
fi

0 commit comments

Comments
 (0)