1
0
mirror of https://github.com/altlinux/admc.git synced 2024-10-27 01:55:37 +03:00
admc/Dockerfile
2021-04-07 17:50:40 +04:00

16 lines
645 B
Docker

# Container image that runs your code
FROM alt:p9
RUN apt-get update \
&& apt-get install -y qt5-base-devel cmake qt5-tools-devel qt5-tools libuuid-devel libsmbclient-devel libsasl2-devel catch2-devel doxygen glib2-devel libpcre-devel rpm-build gear libldap-devel libcmocka-devel libkrb5-devel samba-devel \
&& useradd -ms /bin/bash builder && mkdir /app && chown root:builder /app
# Copies your code file from your action repository to the filesystem path `/` of the container
COPY script/build.sh /build.sh
USER builder
WORKDIR /home/builder
# Code file to execute when the docker container starts up (`build.sh`)
ENTRYPOINT ["/build.sh"]