-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mikael Arguedas <[email protected]>
- Loading branch information
1 parent
8f11889
commit 5cab8e5
Showing
5 changed files
with
91 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
all: help | ||
|
||
help: | ||
@echo "" | ||
@echo "-- Help Menu" | ||
@echo "" | ||
@echo " 1. make build - build all images" | ||
@echo " 2. make pull - pull all images" | ||
@echo " 3. make clean - remove all images" | ||
@echo "" | ||
|
||
build: | ||
@docker build --tag=ignition:blueprint-bionic ignition/. | ||
|
||
pull: | ||
@docker pull ignition:blueprint-bionic | ||
|
||
clean: | ||
@docker rmi -f ignition:blueprint-bionic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This is an auto generated Dockerfile for ignition:ignition | ||
# generated from docker_images/create_ignition_image.Dockerfile.em | ||
FROM ubuntu:bionic | ||
|
||
# setup timezone | ||
RUN echo 'Etc/UTC' > /etc/timezone && \ | ||
ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime && \ | ||
apt-get update && apt-get install -q -y tzdata && rm -rf /var/lib/apt/lists/* | ||
|
||
# install packages | ||
RUN apt-get update && apt-get install -q -y \ | ||
dirmngr \ | ||
gnupg2 \ | ||
lsb-release \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# setup keys | ||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2486D2DD83DB69272AFE98867170598AF249743 | ||
|
||
# setup sources.list | ||
RUN . /etc/os-release \ | ||
&& echo "deb http://packages.osrfoundation.org/gazebo/$ID-stable `lsb_release -sc` main" > /etc/apt/sources.list.d/gazebo-latest.list | ||
|
||
# install ignition packages | ||
RUN apt-get update && apt-get install -q -y \ | ||
ignition-blueprint=1.0.0-1* \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# setup environment | ||
EXPOSE 11345 | ||
|
||
CMD ["ign", "gazebo", "-s"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
%YAML 1.1 | ||
# Ignition Dockerfile database | ||
--- | ||
images: | ||
ignition: | ||
base_image: @(os_name):@(os_code_name) | ||
maintainer_name: @(maintainer_name) | ||
template_name: docker_images/create_ignition_image.Dockerfile.em | ||
# entrypoint_name: docker_images/no_entrypoint.sh | ||
template_packages: | ||
- docker_templates | ||
ignition_packages: | ||
- ignition-@(ignition_version) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
%YAML 1.1 | ||
# Ignition Dockerfile database | ||
--- | ||
platform: | ||
os_name: ubuntu | ||
os_code_name: bionic | ||
ignition_version: blueprint | ||
user_name: ignition | ||
maintainer_name: | ||
arch: amd64 | ||
type: distribution | ||
version: | ||
release: stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters