1

I have ubuntu image in docker, I'm trying to setup nodejs, phantomjs, npm etc..

and for PhantomJS I need to export QT_QPA_PLATFORM variable and set it's value to offscreen.

The problem is that when I run export QT_QPA_PLATFORM=offscreen using shell script, it doesn't work, here's my shell script:

apt-get update
apt-get install nodejs -y
apt-get install phantomjs -y
export QT_QPA_PLATFORM=offscreen

Any ideas?

1
  • 1
    Why tag powershell? If phantomjsneeds QT_QPA_PLATFORM=offscreen on install I'd put the export in front.
    – LotPings
    Apr 30, 2018 at 11:21

0

You must log in to answer this question.

Browse other questions tagged .