mirror of
https://github.com/AltraMayor/f3.git
synced 2025-08-03 10:35:57 -04:00

- Updates Docker base image from Ubuntu 18.04 (now EOL) to Ubuntu 22.04 (current LTS release) - Adds Makefile target to build Docker image. Especially useful since recommended Docker image `peron/f3` is out of date (as of May 2023) - Updates README self-built Docker image usage instructions
22 lines
302 B
Docker
22 lines
302 B
Docker
FROM ubuntu:22.04
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
gcc \
|
|
less \
|
|
libparted-dev \
|
|
libudev1 \
|
|
libudev-dev \
|
|
make \
|
|
udev
|
|
|
|
COPY . /f3
|
|
|
|
WORKDIR /f3
|
|
|
|
RUN make install
|
|
|
|
RUN make install-extra
|
|
|
|
CMD less README.rst
|