mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-08-24 06:58:14 +00:00
3c651ce00f
This change adds a simple "./continous.sh" script which will allow developers to test their changes against "clearlinux:latest" within a clean Docker container. If the container does not already exist, it will be created on demand. Future builds will be done near instantly within the container. Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
18 lines
578 B
Docker
18 lines
578 B
Docker
#
|
|
# This file is part of swupd-client.
|
|
#
|
|
# Copyright © 2017 Intel Corporation
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, version 2 or later of the License.
|
|
#
|
|
#
|
|
|
|
FROM clearlinux:latest
|
|
ADD dockerrun.sh /dockerrun.sh
|
|
ADD https://download.clearlinux.org/releases/13010/clear/Swupd_Root.pem /usr/share/clear/update-ca/Swupd_Root.pem
|
|
RUN swupd update && swupd bundle-add os-core-update-dev sysadmin-basic os-testsuite c-basic
|
|
|
|
CMD ["/dockerrun.sh"]
|