Skip to content
Snippets Groups Projects
Commit 0287718b authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Add a base docker image for testing

This way we have a central place for the CI image config and also testing
is faster because not everythign has to be installed on each run.
parent 7cc182d2
No related branches found
No related tags found
No related merge requests found
FROM ubuntu:18.04
ENV LANG C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
git \
curl
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get update && apt-get install -y \
nodejs \
chromium-browser \
firefox \
composer \
rsync
\ No newline at end of file
* In case of an incompatible change increase the tag version number in build.sh
* ./build.sh
* (first time) sudo docker login registry.gitlab.tugraz.at
* sudo docker push registry.gitlab.tugraz.at/vpu/webcomponents/common/main:v1
\ No newline at end of file
#!/bin/bash
set -e
TAG="registry.gitlab.tugraz.at/vpu/webcomponents/common/main:v1"
sudo docker build --tag "${TAG}" --file "Dockerfile" .
echo "Now run: sudo docker push '$TAG'"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment