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
This commit is contained in:
moryall 2024-09-03 13:08:21 -07:00 committed by GitHub
parent 03ec02a749
commit 81524ab9ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,6 @@
FROM ubuntu:bionic
MAINTAINER Zach Halpern <zahalpern+github@gmail.com>
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" ]