From 6570ff1f7797ff9a307dd96ed4ff37be14bf79ab Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Thu, 21 Oct 2021 09:08:25 +0000 Subject: [PATCH] fix(docker): fixes issue caused by changes to underlying ruby:2.6 image --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index dd0f61a..3c626bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM ruby:2.6 AS base +FROM ruby:2.6-buster AS base SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN apt-get update \ && apt-get install -y --no-install-recommends \ - software-properties-common \ - && apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 \ - && add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://mirrors.coreix.net/mariadb/repo/10.1/ubuntu xenial main' \ + software-properties-common dirmngr apt-transport-https \ + && apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc' \ + && add-apt-repository 'deb [arch=amd64,arm64,ppc64el] https://mirrors.xtom.nl/mariadb/repo/10.6/debian buster main' \ && (curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -) \ && (echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list) \ && (curl -sL https://deb.nodesource.com/setup_12.x | bash -) \