mirror of
https://github.com/altlinux/admc.git
synced 2025-01-25 02:03:35 +03:00
16 lines
645 B
Docker
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"]
|