Skip to content

Commit 945b53a

Browse files
authored
build: Initial Dockerfile (#3)
1 parent 3f70a9b commit 945b53a

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

.dockerignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.dockerignore
2+
.git
3+
.github
4+
.gitignore
5+
.gitlab-ci.yml
6+
.gitmodules
7+
Dockerfile
8+
Dockerfile.archive
9+
docker-compose.yml
10+
11+
*.md

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

Dockerfile

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM qemus:qemu-docker
2+
3+
ARG DEBCONF_NOWARNINGS="yes"
4+
ARG DEBIAN_FRONTEND "noninteractive"
5+
ARG DEBCONF_NONINTERACTIVE_SEEN "true"
6+
7+
RUN apt-get update \
8+
&& apt-get --no-install-recommends -y install \
9+
novnc \
10+
&& apt-get clean \
11+
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
12+
13+
COPY ./src /run/
14+
RUN chmod +x /run/*.sh
15+
16+
EXPOSE 8006
17+
VOLUME /storage
18+
19+
ENV CPU_CORES "1"
20+
ENV RAM_SIZE "4G"
21+
ENV DISK_SIZE "64G"
22+
23+
ARG VERSION_ARG "0.0"
24+
RUN echo "$VERSION_ARG" > /run/version
25+
26+
ENTRYPOINT ["/usr/bin/tini", "-s", "/run/init.sh"]

0 commit comments

Comments
 (0)