dockerfiles for tests

This commit is contained in:
Philippe Teuwen
2020-06-08 02:53:13 +02:00
parent fa0b658436
commit e5a97f3e80
15 changed files with 118 additions and 0 deletions

15
docker/fedora/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM fedora:31
ENV LANG C
# qt5-qtbase-devel skipped
RUN dnf install -y passwd sudo git make gcc gcc-c++ arm-none-eabi-gcc-cs arm-none-eabi-newlib readline-devel bzip2-devel bluez-libs-devel libatomic
# Create rrg user
RUN useradd -ms /bin/bash rrg
RUN passwd -d rrg
RUN printf 'rrg ALL=(ALL) ALL\n' | tee -a /etc/sudoers
USER rrg
WORKDIR "/home/rrg"
CMD ["/bin/bash"]