dockerfiles for tests
This commit is contained in:
15
docker/fedora/Dockerfile
Normal file
15
docker/fedora/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user