From 573058f85f34c23c8d9ad6bcd090f8c76b8d5c6e Mon Sep 17 00:00:00 2001 From: Aaron Trudeau <36064197+trudeaua21@users.noreply.github.com> Date: Fri, 15 Apr 2022 18:37:28 -0400 Subject: [PATCH] Add `jq` to Ubuntu Base Image (#168) * add jq to the base image * empty commit --- images/ubuntu/base/Dockerfile | 1 + images/ubuntu/editor/Dockerfile | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/images/ubuntu/base/Dockerfile b/images/ubuntu/base/Dockerfile index d88bb403..2a297a46 100644 --- a/images/ubuntu/base/Dockerfile +++ b/images/ubuntu/base/Dockerfile @@ -41,6 +41,7 @@ RUN apt-get -q update \ curl \ git \ git-lfs \ + jq \ openssh-client \ wget \ && git lfs install --system --skip-repo \ diff --git a/images/ubuntu/editor/Dockerfile b/images/ubuntu/editor/Dockerfile index 6daee012..4807a634 100644 --- a/images/ubuntu/editor/Dockerfile +++ b/images/ubuntu/editor/Dockerfile @@ -150,10 +150,6 @@ RUN echo "$version-$module" | grep -q -v '^\(2018.3\|2018.4\).*android' \ RUN echo "$version-$module" | grep -q -vP '^20(?!18).*android' \ && exit 0 \ || : \ - # Install jq - && apt-get update -qq \ - && apt-get install -qq -y --no-install-recommends jq \ - \ # Environment Variables && export RAW_ANDROID_SDK_ROOT=$(jq -cr '(.[] | select(.id == "android-sdk-platform-tools")).destination' $UNITY_PATH/modules.json) \ # We need to replace some characters common to paths that will break the sed expression when expanded @@ -168,10 +164,6 @@ RUN echo "$version-$module" | grep -q -vP '^20(?!18).*android' \ && export JAVA_HOME=${ESCAPED_JAVA_HOME:-$UNITY_PATH/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/OpenJDK/Linux} \ && export PATH=$JAVA_HOME/bin:${ANDROID_SDK_ROOT}/tools:${ANDROID_SDK_ROOT}/tools/bin:${ANDROID_SDK_ROOT}/platform-tools:${PATH} \ \ - # Clean up - && apt-get remove -y jq \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* \ # Accept licenses && yes | "${ANDROID_HOME}/tools/bin/sdkmanager" --licenses \ \