Giter Site home page Giter Site logo

elementary / docker Goto Github PK

View Code? Open in Web Editor NEW
24.0 22.0 12.0 49 KB

Docker containers of elementary OS environments and related tools primarily used in Travis Continuous Integration Automated Testing

Dockerfile 100.00%
docker elementaryos travis juno loki dockerfiles

docker's Introduction

Elementary

Official Elementary OS Docker Images


These images are meant to ease testing applications build for elementary os. They are based on the same Ubuntu base as the desktop releases with the addition of the tools recommended by the development SDK.

For an example on how to use this with Github actions see the config for our Dock.

Image Variants

ghcr.io/elementary/docker:stable: This defaults to the latest stable elementary release.

ghcr.io/elementary/docker:unstable: This defaults to the latest unstable elementary release.

ghcr.io/elementary/docker:<release>-stable and ghcr.io/elementary/docker:<release>-unstable: These tags can be used to specify an exact version of elementary. For example, for a horus image: ghcr.io/elementary/docker:horus-stable

Example usage

# run the latest stable release in an interactive shell!
docker run -it ghcr.io/elementary/docker bash -l

docker's People

Contributors

btkostner avatar codygarver avatar danirabbit avatar davidmhewitt avatar dependabot[bot] avatar gamerlv avatar kgrubb avatar lewisgoddard avatar meisenzahl avatar tintou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker's Issues

Docker hub tags

Since #32 was merged the tags on docker hub have not been updated. I've opened #41 to update the readme here, but that does not change anything for people using the hub directly.

Should the description there be updated to point users to github and/or remove the tags to make it painfully obvious.
Removing the tags probably will break some builds, as some tags are still pulled. At time of writing latest was last pulled only 3 hours ago.

Hera (elementaryOS 5.1) release on Docker Hub

I just saw that elementaryOS is released as Docker images as well as plain OS (.iso downloadable on elementary.io). And this is great news as I'm discovering this distribution and would be happy to give it a try in a virtualized environment.

Still, on the Docker Hub, I am not sure whether or not there is the latest stable release called Hera.

If not, could it be possible to publish one or at least publish the procedure to make one myself? I am not familiar with making base images (from scratch) but I am ready to try.

Thanks!

Include flatpak builder

Problem

Currently we have to install flatpak builder in every CI which we want to add flatpak to

Proposal

pre-install flatpak builder

Prior Art

docker.io/bilelmoussaoui/flatpak-github-actions

Create testing images for easier travis tests

Having a travis file like this sucks. We should have a loki-travis image that contains a script to install the packages and run the build system. That way we can update tests without having to update all of the repositories. Plus, it cleans up the travis file quite a bit.

language: generic

services:
 - docker

env:
 - DEPENDENCY_PACKAGES="appstream cmake desktop-file-utils libcanberra-dev libgdk-pixbuf2.0-dev libgranite-dev valac"

install:
 - docker pull elementary/docker:loki
 - docker run -v "$PWD":/tmp/build-dir elementary/docker:loki /bin/sh -c "apt-get update && apt-get -y install $DEPENDENCY_PACKAGES && cd /tmp/build-dir && cmake . && env CTEST_OUTPUT_ON_FAILURE=true make all test"
 - docker pull elementary/docker:loki-unstable
 - docker run -v "$PWD":/tmp/build-dir elementary/docker:loki-unstable /bin/sh -c "apt-get update && apt-get -y install $DEPENDENCY_PACKAGES && cd /tmp/build-dir && cmake . && env CTEST_OUTPUT_ON_FAILURE=true make all test"

script:
 - echo BUILDS PASSED

Ultimately we should be able to do something like this:

language: generic

services:
 - docker

env:
 - TRAVIS_PACKAGES="libcanberra-dev libgdk-pixbuf2.0-dev libgranite-dev valac"

before_install:
 - env | grep "^TRAVIS" > .env

install:
 - docker pull elementary/docker:loki-travis
 - docker pull elementary/docker:loki-unstable-travis

script:
 - docker run --env-file .env -v "$PWD":/tmp/travis elementary/docker:loki-travis
 - docker run --env-file .env -v "$PWD":/tmp/travis elementary/docker:loki-unstable-travis

GitHub Publish Action Disabled

What Happened?

The "Publish" action has disabled itself due to inactivity, so we don't have up to date docker images.

I don't have enough rights to re-enable, and this is causing the Wingpanel GTK4 CI to fail due to mismatched Mutter versions in the Docker image.

Steps to Reproduce

Look at actions.

Expected Behavior

Docker images build regularly

OS Version

Other Linux

Software Version

Compiled from git

Log Output

No response

Hardware Info

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.