mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-04 08:44:40 +01:00
14 lines
604 B
Docker
14 lines
604 B
Docker
FROM ubuntu:16.04
|
|
RUN apt-get -y update
|
|
# Install dependecies
|
|
RUN apt-get install -y python3 libzbar-dev gnome-screenshot gnome-keyring git python-gobject
|
|
RUN pip install pyotp pyaml Pillow zbarlight setuptools
|
|
RUN pip install ninja
|
|
# Install latest git version of meson
|
|
RUN git clone https://github.com/mesonbuild/meson && && cd ./meson && python3 setup.py install
|
|
# Build Gnome-TwoFactorAuth usinn Meson
|
|
RUN git clone https://github.com/bil-elmoussaoui/Gnome-Authenticator && cd ./Gnome-Authenticator
|
|
RUN mkdir build && cd ./build
|
|
RUN meson .. && ninja && sudo ninja install
|
|
|
|
CMD gnome-authenticator
|