From 81524ab9cebec3bea064f66ec2a0d5ac6274d3b0 Mon Sep 17 00:00:00 2001 From: moryall <83562702+moryall@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:08:21 -0700 Subject: [PATCH] Update Dockerfile to non-outdated Ubuntu version 1. Updated image to jammy as it is still in it's LTS window. Didn't go with 24.04/Noble as it released after latest version of cockatrice released. 2. Had to add new ARG 3. No qt5-default library, so replaced with qt5-qmake --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 047c9ecf6..17712ee0b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ -FROM ubuntu:bionic -MAINTAINER Zach Halpern +FROM ubuntu:jammy + +ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y\ build-essential\ @@ -10,7 +11,7 @@ RUN apt-get update && apt-get install -y\ libmysqlclient-dev\ libqt5websockets5-dev\ protobuf-compiler\ - qt5-default\ + qt5-qmake\ qtbase5-dev\ qttools5-dev-tools\ qttools5-dev @@ -28,4 +29,3 @@ WORKDIR /home/servatrice EXPOSE 4747 ENTRYPOINT [ "servatrice", "--log-to-console" ] -