1
- FROM phusion/baseimage:0.11
1
+ FROM phusion/baseimage:focal-1.0.0-alpha1-amd64
2
2
3
3
RUN useradd --create-home --shell /bin/bash musicbrainz
4
4
@@ -21,14 +21,14 @@ RUN apt-get update && \
21
21
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
22
22
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
23
23
curl -sLO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
24
- curl -sLO https://deb.nodesource.com/node_10 .x/pool/main/n/nodejs/nodejs_10.17.0 -1nodesource1_amd64.deb && \
24
+ curl -sLO https://deb.nodesource.com/node_16 .x/pool/main/n/nodejs/nodejs_16.1.0-deb -1nodesource1_amd64.deb && \
25
25
apt-get update && \
26
26
apt-get install \
27
27
--no-install-recommends \
28
28
--no-install-suggests \
29
29
-y \
30
30
./google-chrome-stable_current_amd64.deb \
31
- ./nodejs_10.17.0 -1nodesource1_amd64.deb \
31
+ ./nodejs_16.1.0-deb -1nodesource1_amd64.deb \
32
32
build-essential \
33
33
bzip2 \
34
34
gcc \
@@ -50,12 +50,12 @@ RUN apt-get update && \
50
50
libexpat1 \
51
51
libexpat1-dev \
52
52
libicu-dev \
53
- libicu60 \
53
+ libicu66 \
54
54
libperl-dev \
55
55
libpq-dev \
56
56
libpq5 \
57
57
libssl-dev \
58
- libssl1.0.0 \
58
+ libssl1.1 \
59
59
libxml2 \
60
60
libxml2-dev \
61
61
locales \
@@ -70,19 +70,21 @@ RUN apt-get update && \
70
70
postgresql-12 \
71
71
postgresql-12-pgtap \
72
72
postgresql-server-dev-12 \
73
- python2.7-dev \
74
- python2.7-minimal \
73
+ python2 \
74
+ python2-dev \
75
75
rabbitmq-server \
76
76
redis-server \
77
77
runit \
78
78
runit-systemd \
79
79
sudo \
80
80
unzip \
81
81
virtualenv \
82
- yarn && \
82
+ wget \
83
+ yarn \
84
+ zlib1g-dev && \
83
85
rm -rf /var/lib/apt/lists/* && \
84
86
rm google-chrome-stable_current_amd64.deb && \
85
- rm nodejs_10.17.0 -1nodesource1_amd64.deb && \
87
+ rm nodejs_16.1.0-deb -1nodesource1_amd64.deb && \
86
88
update-java-alternatives -s java-1.8.0-openjdk-amd64 && \
87
89
systemctl disable rabbitmq-server
88
90
@@ -98,10 +100,11 @@ RUN sudo -E -H -u musicbrainz carton install --deployment && \
98
100
rm cpanfile cpanfile.snapshot
99
101
100
102
RUN mkdir musicbrainz-server
101
- ENV PG_AMQP_TAG v0.4.1
103
+ ENV PG_AMQP_COMMIT 240d477
102
104
103
- RUN git clone --branch $PG_AMQP_TAG -- depth 1 https://github.com/omniti-labs/pg_amqp.git && \
105
+ RUN git clone --depth 1 https://github.com/omniti-labs/pg_amqp.git && \
104
106
cd pg_amqp && \
107
+ git reset --hard $PG_AMQP_COMMIT && \
105
108
make && \
106
109
make install && \
107
110
cd /home/musicbrainz
@@ -139,7 +142,7 @@ RUN sudo -E -H -u musicbrainz git clone https://github.com/metabrainz/sir.git &&
139
142
sudo -E -H -u musicbrainz sh -c 'virtualenv --python=python2 venv; . venv/bin/activate; pip install -r requirements.txt; pip install git+git://github.com/esnme/ultrajson.git@7d0f4fb7e911120fd09075049233b587936b0a65' && \
140
143
cd /home/musicbrainz
141
144
142
- RUN curl -sLO https://chromedriver.storage.googleapis.com/81 .0.4044.138 /chromedriver_linux64.zip && \
145
+ RUN curl -sLO https://chromedriver.storage.googleapis.com/90 .0.4430.24 /chromedriver_linux64.zip && \
143
146
unzip chromedriver_linux64.zip -d /usr/local/bin && \
144
147
chmod +x /usr/local/bin/chromedriver && \
145
148
rm chromedriver_linux64.zip
0 commit comments