File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,10 @@ RUN apt-get -q update \
69
69
maven \
70
70
openjdk-11-jdk \
71
71
openjdk-8-jdk \
72
+ phantomjs \
72
73
pinentry-curses \
73
74
pkg-config \
75
+ python2.7 \
74
76
python3 \
75
77
python3-pip \
76
78
python3-pkg-resources \
@@ -149,17 +151,6 @@ RUN curl -s -S https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
149
151
&& apt-get clean \
150
152
&& rm -rf /var/lib/apt/lists/*
151
153
152
- ###
153
- # Install phantomjs built for aarch64
154
- ####
155
- RUN mkdir -p /opt/phantomjs \
156
- && curl -L -s -S \
157
- https://github.com/liusheng/phantomjs/releases/download/2.1.1/phantomjs-2.1.1-linux-aarch64.tar.bz2 \
158
- -o /opt/phantomjs/phantomjs-2.1.1-linux-aarch64.tar.bz2 \
159
- && tar xvjf /opt/phantomjs/phantomjs-2.1.1-linux-aarch64.tar.bz2 --strip-components 1 -C /opt/phantomjs \
160
- && cp /opt/phantomjs/bin/phantomjs /usr/bin/ \
161
- && rm -rf /opt/phantomjs
162
-
163
154
###
164
155
# Avoid out of memory errors in builds
165
156
###
@@ -168,6 +159,9 @@ ENV MAVEN_OPTS -Xms256m -Xmx1536m
168
159
# Skip gpg verification when downloading Yetus via yetus-wrapper
169
160
ENV HADOOP_SKIP_YETUS_VERIFICATION true
170
161
162
+ # Force PhantomJS to be in 'headless' mode, do not connect to Xwindow
163
+ ENV QT_QPA_PLATFORM offscreen
164
+
171
165
###
172
166
# Everything past this point is either not needed for testing or breaks Yetus.
173
167
# So tell Yetus not to read the rest of the file:
You can’t perform that action at this time.
0 commit comments