forked from RotherOSS/otobo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
otobo.selenium-chrome.dockerfile
38 lines (32 loc) · 1.9 KB
/
otobo.selenium-chrome.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
26
27
28
29
30
31
32
33
34
35
36
37
38
# This is the build file for the OTOBO selenium-chrome Docker image.
# See bin/docker/build_docker_images.sh for how to build locally.
# See also https://doc.otobo.org/manual/installation/10.1/en/content/installation-docker.html
# note that selenium/standalone-chrome-debug:3.141.59-20210607 has changed behavior
FROM selenium/standalone-chrome-debug:3.141.59-20210422
# For the VNC-viewer, e.g. Remmina
EXPOSE 5900/tcp
# Make sure that /opt/otobo exists and is writable by $OTOBO_USER.
RUN sudo mkdir --parent /opt/otobo/scripts/test
RUN sudo chown -R seluser:seluser /opt/otobo
# Build context is scripts/test/sample
COPY --chown=seluser:seluser . /opt/otobo/scripts/test/sample
# Add some additional meta info to the image.
# This done at the end of the Dockerfile as changed labels and changed args invalidate the layer cache.
# The labels are compliant with https://github.com/opencontainers/image-spec/blob/master/annotations.md .
# For the standard build args passed by hub.docker.com see https://docs.docker.com/docker-hub/builds/advanced/.
LABEL maintainer='Team OTOBO <[email protected]>'
LABEL org.opencontainers.image.authors='Team OTOBO <[email protected]>'
LABEL org.opencontainers.image.description='OTOBO is the new open source ticket system with strong functionality AND a great look'
LABEL org.opencontainers.image.documentation='https://otobo.org'
LABEL org.opencontainers.image.licenses='GNU General Public License v3.0 or later'
LABEL org.opencontainers.image.title='OTOBO selenium-chrome'
LABEL org.opencontainers.image.url=https://github.com/RotherOSS/otobo
LABEL org.opencontainers.image.vendor='Rother OSS GmbH'
ARG BUILD_DATE=unspecified
LABEL org.opencontainers.image.created=$BUILD_DATE
ARG GIT_COMMIT=unspecified
LABEL org.opencontainers.image.revision=$GIT_COMMIT
ARG GIT_REPO=unspecified
LABEL org.opencontainers.image.source=$GIT_REPO
ARG DOCKER_TAG=unspecified
LABEL org.opencontainers.image.version=$DOCKER_TAG