Docker: Add another example Dockerfile for a run environment

Without build tools, for demonstration purposes.

Change-Id: I5940770aa0a5eb83d618ebdeb12436b38d3b21fa
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-06-10 07:04:15 +02:00
parent 9decfcb151
commit a80546593d
3 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
FROM ubuntu:20.04
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
openssh-client \
sudo \
vim \
wget \
libqt5core5a \
libqt5widgets5 \
libqt5quick5 \
libqt5quickcontrols2-5 \
gdb \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -1,2 +1,4 @@
#!/bin/sh
docker build -t qt-5-ubuntu-20.04 .
docker build -t qt-5-ubuntu-20.04-build -f Dockerfile-qt-5-ubuntu-20.04-build .
docker build -t qt-5-ubuntu-20.04-run -f Dockerfile-qt-5-ubuntu-20.04-run .