Skip to content

Commit bffd202

Browse files
committed
Initial import
0 parents  commit bffd202

File tree

5 files changed

+424
-0
lines changed

5 files changed

+424
-0
lines changed

.gitlab-ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
image: docker:latest
2+
3+
stages:
4+
- build
5+
6+
before_script:
7+
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
8+
9+
build:
10+
stage: build
11+
script:
12+
- docker build --pull -t $CONTAINER_IMAGE .
13+
- docker push $CONTAINER_IMAGE
14+
15+
variables:
16+
CONTAINER_IMAGE: $CI_REGISTRY/veyon/webapi-proxy:latest

Dockerfile

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
FROM ubuntu:focal
2+
MAINTAINER Tobias Junghans <[email protected]>
3+
4+
RUN \
5+
apt update && \
6+
apt -y --no-install-recommends install software-properties-common && \
7+
add-apt-repository ppa:veyon/stable && \
8+
apt update && \
9+
apt -y --no-install-recommends install veyon && \
10+
apt -y --purge remove software-properties-common && \
11+
apt -y --purge autoremove && \
12+
apt -y install && \
13+
apt clean && \
14+
rm -rf \
15+
/usr/bin/*apt* \
16+
/usr/bin/*dpkg* \
17+
/usr/bin/perl* \
18+
/usr/bin/veyon-auth-helper \
19+
/usr/bin/veyon-configurator \
20+
/usr/bin/veyon-master \
21+
/usr/bin/veyon-serv* \
22+
/usr/bin/veyon-worker \
23+
/usr/lib/apt \
24+
/usr/lib/dpkg \
25+
/usr/lib/x86_64-linux-gnu/veyon/*ldap* \
26+
/usr/lib/x86_64-linux-gnu/veyon/*x11* \
27+
/usr/lib/x86_64-linux-gnu/dri \
28+
/usr/lib/x86_64-linux-gnu/libLLVM* \
29+
/usr/lib/x86_64-linux-gnu/*apt* \
30+
/usr/lib/x86_64-linux-gnu/*db-5* \
31+
/usr/lib/x86_64-linux-gnu/*p11* \
32+
/usr/lib/x86_64-linux-gnu/*gnutls* \
33+
/usr/lib/x86_64-linux-gnu/*unistring* \
34+
/usr/share/doc \
35+
/usr/share/locale \
36+
/usr/share/man \
37+
/usr/share/X11 \
38+
/var/cache \
39+
/var/lib \
40+
/var/log \
41+
/tmp/*
42+
43+
COPY run-veyon-webapi-proxy /usr/bin/
44+
45+
ENTRYPOINT [ "/usr/bin/run-veyon-webapi-proxy" ]

0 commit comments

Comments
 (0)