tests: fix test breakage in Github CI.

Fix tests not working in Github. They were failing because the latest
version of Webpack needs a version of Node newer than the version in
shipped Ubuntu 20.04.

Also fix the Docker build failing because of the system timezone
database not being installed in Ubuntu 20.10.
This commit is contained in:
evazion
2021-02-05 02:49:00 -06:00
parent 3639d7eae5
commit 9a0a988572
4 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
FROM ubuntu:20.04 AS build
FROM ubuntu:20.10 AS build
RUN \
apt-get update && \
@@ -40,7 +40,7 @@ ARG RAILS_ENV=production
RUN bin/rails assets:precompile && ln -sf packs public/packs-test
RUN rm -rf node_modules log tmp && mkdir log tmp
FROM ubuntu:20.04
FROM ubuntu:20.10
RUN \
useradd --create-home --user-group danbooru && \