Commit 59d323fa authored by Antenore Gatta's avatar Antenore Gatta

Merge branch 'better-ci' into 'master'

Adding official Ubuntu Docker images

See merge request Remmina/Remmina!1913
parents 90fb9a24 6237696e
---
image: antenore/ubuntu:18.04
image: remmina/ubuntu:18.04
stages:
- build
......@@ -42,11 +42,10 @@ ubuntu:devel:
appimage:build:
# image: ubuntu:devel
# stage: cross_environment
image: antenore/ubuntu:16.04
image: remmina/ubuntu:16.04
stage: build
before_script:
- apt-get update -qq
- apt-get install -y -qq libfuse-dev
script:
- mkdir $BUILD_FOLDER
......@@ -70,10 +69,12 @@ appimage:build:
- $BUILD_FOLDER/Remmina-x86_64.AppImage
only:
refs:
- master
- web
- schedules
flatpak:test:
image: ubuntu:18.04
image: remmina/ubuntu:18.04
stage: build
variables:
BUNDLE: "remmina-dev.flatpak"
......@@ -81,8 +82,6 @@ flatpak:test:
FLATHUB_REPO: "https://flathub.org/repo/flathub.flatpakrepo"
before_script:
- apt-get update -qq
- apt-get install -y -qq software-properties-common
python3-software-properties
- add-apt-repository $FLATPAK_PPA -y
- apt-get update -qq
- apt-get install -y -qq flatpak-builder flatpak build-essential git-core
......
# Remmina docker images
To update/push images you need permissions for this repository:
https://cloud.docker.com/u/remmina/repository/docker/remmina/ubuntu
To build and push:
```shell
# cd where is the Dockerfile
# login with your docker account
docker build -t remmina/ubuntu:18.04 --no-cache --force-rm --compress .
docker push remmina/ubuntu:18.04
```
FROM ubuntu:16.04
LABEL description="Bootstrap image used to build and test Remmina with Ubuntu 16.04" \
maintainer="Antenore Gatta <[email protected]>" \
vendor="Remmina Project" \
name="org.remmina.Remmina.images.ubuntu-16.04"
# Set noninteractive
ENV DEBIAN_FRONTEND noninteractive
RUN \
LC_ALL=en_US.UTF-8 apt-get update -qq \
&& apt-get install -y -qq software-properties-common python3-software-properties \
&& apt-add-repository ppa:remmina-ppa-team/freerdp-daily -y \
&& apt-get update -qq \
&& apt-get install -y -qq build-essential git-core cmake libssl-dev \
libx11-dev libxext-dev libxinerama-dev libxcursor-dev libxdamage-dev \
libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev \
libxrandr-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
libxi-dev libavutil-dev libavcodec-dev libxtst-dev libgtk-3-dev \
libgcrypt11-dev libssh-dev libpulse-dev libvte-2.91-dev libxkbfile-dev \
libtelepathy-glib-dev libjpeg-dev libgnutls28-dev libgnome-keyring-dev \
libavahi-ui-gtk3-dev libvncserver-dev libappindicator3-dev intltool \
libsecret-1-dev libsodium-dev libwebkit2gtk-4.0-dev libsystemd-dev \
libsoup2.4-dev libjson-glib-dev libavresample-dev freerdp2-dev \
libspice-protocol-dev libspice-client-gtk-3.0-dev libfuse-dev wget \
&& apt autoremove -y \
&& apt clean -y
FROM ubuntu:18.04
LABEL description="Bootstrap image used to build and test Remmina with Ubuntu 18.04" \
maintainer="Antenore Gatta <[email protected]>" \
vendor="Remmina Project" \
name="org.remmina.Remmina.images.ubuntu-18.04"
# Set noninteractive
ENV DEBIAN_FRONTEND noninteractive
RUN \
LC_ALL=en_US.UTF-8 apt-get update -qq \
&& apt-get install -y -qq software-properties-common python3-software-properties \
&& apt-add-repository ppa:remmina-ppa-team/freerdp-daily -y \
&& apt-get update -qq \
&& apt-get install -y -qq build-essential git-core cmake libssl-dev \
libx11-dev libxext-dev libxinerama-dev libxcursor-dev libxdamage-dev \
libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev \
libxrandr-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
libxi-dev libavutil-dev libavcodec-dev libxtst-dev libgtk-3-dev \
libgcrypt11-dev libssh-dev libpulse-dev libvte-2.91-dev libxkbfile-dev \
libtelepathy-glib-dev libjpeg-dev libgnutls28-dev libgnome-keyring-dev \
libavahi-ui-gtk3-dev libvncserver-dev libappindicator3-dev intltool \
libsecret-1-dev libsodium-dev libwebkit2gtk-4.0-dev libsystemd-dev \
libsoup2.4-dev libjson-glib-dev libavresample-dev freerdp2-dev \
libspice-protocol-dev libspice-client-gtk-3.0-dev \
&& apt autoremove -y \
&& apt clean -y
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment