sitespeed.io 22.1.0 → 22.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
2
2
 
3
+ ## 22.1.1 - 2022-02-08
4
+ ### Fixed
5
+ * The slim container with only Firefox was broken in last release. It's now re-released with Firefox 96 and Firefox 97 coming soon.
3
6
  ## 22.1.0 - 2022-02-08
4
7
  ### Added
5
8
  * Upgraded to latest Browsertime with Egdedriver 98.
package/Dockerfile-slim CHANGED
@@ -8,26 +8,22 @@ ENV SITESPEED_IO_BROWSERTIME__BROWSER firefox
8
8
  ENV SITESPEED_IO_BROWSERTIME__VISUAL_METRICS false
9
9
  ENV SITESPEED_IO_BROWSERTIME__HEADLESS true
10
10
 
11
- ENV FIREFOX_VERSION 97.0
12
-
13
11
  ENV PATH="/usr/local/bin:${PATH}"
14
12
 
15
13
  RUN buildDeps='wget bzip2' && apt-get update && apt -y install $buildDeps && \
16
14
  # Download and unpack the correct Firefox version
17
15
  if [ "$TARGETPLATFORM" = "linux/amd64" ] ; \
18
16
  then \
19
- wget https://ftp.mozilla.org/pub/firefox/releases/${FIREFOX_VERSION}/linux-x86_64/en-US/firefox-${FIREFOX_VERSION}.tar.bz2 && \
20
- tar -xjf firefox-${FIREFOX_VERSION}.tar.bz2 && \
21
- rm firefox-${FIREFOX_VERSION}.tar.bz2 && \
22
- mv firefox /opt/ && \
23
- ln -s /opt/firefox/firefox /usr/local/bin/firefox && \
24
- # Install dependencies for Firefox
25
- apt-get install -y --no-install-recommends --no-install-suggests libxt6 \
26
- `apt-cache depends firefox-esr | awk '/Depends:/{print$2}'`; \
17
+ # Install dependencies for Firefox, the repo is often behind
18
+ echo "deb http://deb.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list.d/debian.list && \
19
+ apt-get update && \
20
+ apt-get install -y --no-install-recommends firefox; \
27
21
  elif [ "$TARGETPLATFORM" = "linux/arm64" ] ; \
28
22
  then \
29
- apt-get update && \
30
- apt-get install -y firefox-esr; \
23
+ # Install dependencies for Firefox, the repo is often behind
24
+ echo "deb http://deb.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list.d/debian.list && \
25
+ apt-get update && \
26
+ apt-get install -y --no-install-recommends firefox; \
31
27
  fi
32
28
 
33
29
  # iproute2 = tc
@@ -40,7 +36,7 @@ RUN apt -y install tcpdump iproute2 ca-certificates sudo --no-install-recommends
40
36
  RUN mkdir -p /usr/src/app
41
37
  WORKDIR /usr/src/app
42
38
  COPY . /usr/src/app
43
- RUN npm install -g npm@latest && CHROMEDRIVER_SKIP_DOWNLOAD=true EGDEDRIVER_SKIP_DOWNLOAD=true npm install --production && npm cache clean --force && npm uninstall npm -g
39
+ RUN CHROMEDRIVER_SKIP_DOWNLOAD=true EGDEDRIVER_SKIP_DOWNLOAD=true npm install --production && npm cache clean --force && npm uninstall npm -g
44
40
  WORKDIR /usr/src/app
45
41
  COPY docker/scripts/start-slim.sh /start.sh
46
42
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "sitespeed.io",
3
- "version": "22.1.0",
3
+ "version": "22.1.1",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "sitespeed.io",
9
- "version": "22.1.0",
9
+ "version": "22.1.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@google-cloud/storage": "5.8.3",
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "sitespeed.io": "./bin/sitespeed.js",
5
5
  "sitespeed.io-wpr": "./bin/browsertimeWebPageReplay.js"
6
6
  },
7
- "version": "22.1.0",
7
+ "version": "22.1.1",
8
8
  "description": "Analyze the web performance of your site",
9
9
  "keywords": [
10
10
  "performance",