-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
25 lines (18 loc) · 934 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# ----------------------------------
# Sparked Host Custom Docker Image
# Image: ghcr.io/sparkedhost/images:generic-mono
# ----------------------------------
FROM debian:bullseye-slim
LABEL author="DevOps Team at Sparked Host" maintainer="devops@sparkedhost.com"
RUN apt-get update -y \
&& apt-get install -y fontconfig dirmngr curl ca-certificates openssl git tar tzdata iproute2 \
&& useradd -d /home/container -m container \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
&& sh -c 'echo "deb https://download.mono-project.com/repo/debian stable-buster main" > /etc/apt/sources.list.d/mono-official-stable.list' \
&& apt-get update \
&& apt-get install -y mono-complete lib32gcc-s1
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]