File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ RUN apt-get -q update \
41
41
curl \
42
42
git \
43
43
git-lfs \
44
+ jq \
44
45
openssh-client \
45
46
wget \
46
47
&& git lfs install --system --skip-repo \
Original file line number Diff line number Diff line change @@ -150,10 +150,6 @@ RUN echo "$version-$module" | grep -q -v '^\(2018.3\|2018.4\).*android' \
150
150
RUN echo "$version-$module" | grep -q -vP '^20(?!18).*android' \
151
151
&& exit 0 \
152
152
|| : \
153
- # Install jq
154
- && apt-get update -qq \
155
- && apt-get install -qq -y --no-install-recommends jq \
156
- \
157
153
# Environment Variables
158
154
&& export RAW_ANDROID_SDK_ROOT=$(jq -cr '(.[] | select(.id == "android-sdk-platform-tools")).destination' $UNITY_PATH/modules.json) \
159
155
# 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' \
168
164
&& export JAVA_HOME=${ESCAPED_JAVA_HOME:-$UNITY_PATH/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/OpenJDK/Linux} \
169
165
&& export PATH=$JAVA_HOME/bin:${ANDROID_SDK_ROOT}/tools:${ANDROID_SDK_ROOT}/tools/bin:${ANDROID_SDK_ROOT}/platform-tools:${PATH} \
170
166
\
171
- # Clean up
172
- && apt-get remove -y jq \
173
- && apt-get clean \
174
- && rm -rf /var/lib/apt/lists/* \
175
167
# Accept licenses
176
168
&& yes | "${ANDROID_HOME}/tools/bin/sdkmanager" --licenses \
177
169
\
You can’t perform that action at this time.
0 commit comments