|
1 |
| -FROM phusion/baseimage:0.11 |
| 1 | +FROM phusion/baseimage:bionic-1.0.0 |
2 | 2 |
|
3 | 3 | ARG COUNTLY_PLUGINS=mobile,web,desktop,plugins,density,locale,browser,sources,views,enterpriseinfo,logger,systemlogs,populator,reports,crashes,push,star-rating,slipping-away-users,compare,server-stats,dbviewer,assistant,times-of-day,compliance-hub,video-intelligence-monetization,alerts,onboarding
|
4 | 4 | # Enterprise Edition:
|
@@ -33,19 +33,18 @@ RUN useradd -r -M -U -d /opt/countly -s /bin/false countly && \
|
33 | 33 | libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 \
|
34 | 34 | libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils \
|
35 | 35 | # push / nghttp2
|
36 |
| - gcc-4.8 g++-4.8 make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev \ |
| 36 | + gcc g++ make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev \ |
37 | 37 | libevent-dev libjansson-dev libjemalloc-dev cython python3-dev python-setuptools && \
|
38 | 38 | # node
|
39 |
| - wget -qO- https://deb.nodesource.com/setup_10.x | bash - && \ |
| 39 | + wget -qO- https://deb.nodesource.com/setup_14.x | bash - && \ |
40 | 40 | # data_migration (mongo clients)
|
41 |
| - wget -qO - https://www.mongodb.org/static/pgp/server-3.6.asc | apt-key add - && \ |
42 |
| - echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.6.list && \ |
| 41 | + wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add - && \ |
| 42 | + echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list && \ |
43 | 43 | apt-get update && \
|
44 | 44 | apt-get -y install nodejs mongodb-org-shell mongodb-org-tools && \
|
45 | 45 | \
|
46 | 46 | # nghttp2
|
47 |
| - (export CXX="g++-4.8" && export CC="gcc-4.8" && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 && \ |
48 |
| - git clone https://github.com/nghttp2/nghttp2.git /tmp/nghttp2 --single-branch --branch=v1.30.0 --depth=1 && \ |
| 47 | + (git clone https://github.com/nghttp2/nghttp2.git /tmp/nghttp2 --single-branch --branch=v1.30.0 --depth=1 && \ |
49 | 48 | cd /tmp/nghttp2 && \
|
50 | 49 | export CFLAGS="-g -O2 -fPIC" && export CPPFLAGS="-fPIC" && autoreconf -i && automake && autoconf && \
|
51 | 50 | ./configure --disable-examples --disable-app && make && make install && export CC="" && export CXX="") && \
|
@@ -80,7 +79,7 @@ RUN useradd -r -M -U -d /opt/countly -s /bin/false countly && \
|
80 | 79 | # cleanup
|
81 | 80 | npm remove -y mocha nyc should supertest && \
|
82 | 81 | apt-get -y remove build-essential libkrb5-dev git sqlite3 wget \
|
83 |
| - gcc-4.8 g++-4.8 gcc g++ make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev libjansson-dev libjemalloc-dev cython python3-dev python-setuptools && \ |
| 82 | + gcc g++ make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev libjansson-dev libjemalloc-dev cython python3-dev python-setuptools && \ |
84 | 83 | apt-get -y install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils && \
|
85 | 84 | apt-get clean && \
|
86 | 85 | rm -rf /var/lib/apt/lists/* /tmp/* /tmp/.??* /var/tmp/* /var/log/* /var/tmp/.??* ~/.npm ~/.cache && \
|
|
0 commit comments