From b05da6b1b8f0d7722b34a90b8573b9f084a6f491 Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Tue, 16 Mar 2021 14:39:11 +0100 Subject: [PATCH] add shortcut scripts for using PyROS with Docker --- docker/PYROS_DOCKER_BUILD | 3 +++ docker/PYROS_DOCKER_INSTALL | 3 +++ docker/PYROS_DOCKER_RUN | 3 +++ docker/PYROS_DOCKER_SHELL | 3 +++ docker/PYROS_DOCKER_START | 3 +++ docker/PYROS_DOCKER_TEST | 3 +++ docker/PYROS_DOCKER_UPDATE | 3 +++ 7 files changed, 21 insertions(+), 0 deletions(-) create mode 100755 docker/PYROS_DOCKER_BUILD create mode 100755 docker/PYROS_DOCKER_INSTALL create mode 100755 docker/PYROS_DOCKER_RUN create mode 100755 docker/PYROS_DOCKER_SHELL create mode 100755 docker/PYROS_DOCKER_START create mode 100755 docker/PYROS_DOCKER_TEST create mode 100755 docker/PYROS_DOCKER_UPDATE diff --git a/docker/PYROS_DOCKER_BUILD b/docker/PYROS_DOCKER_BUILD new file mode 100755 index 0000000..169a51d --- /dev/null +++ b/docker/PYROS_DOCKER_BUILD @@ -0,0 +1,3 @@ +#!/bin/bash + +docker-compose build \ No newline at end of file diff --git a/docker/PYROS_DOCKER_INSTALL b/docker/PYROS_DOCKER_INSTALL new file mode 100755 index 0000000..51cf0a3 --- /dev/null +++ b/docker/PYROS_DOCKER_INSTALL @@ -0,0 +1,3 @@ +#!/bin/bash + +docker exec -it pyros python3 pyros.py install \ No newline at end of file diff --git a/docker/PYROS_DOCKER_RUN b/docker/PYROS_DOCKER_RUN new file mode 100755 index 0000000..bf1471c --- /dev/null +++ b/docker/PYROS_DOCKER_RUN @@ -0,0 +1,3 @@ +#!/bin/bash + +docker exec -it pyros python3 pyros.py start webserver \ No newline at end of file diff --git a/docker/PYROS_DOCKER_SHELL b/docker/PYROS_DOCKER_SHELL new file mode 100755 index 0000000..a7a177f --- /dev/null +++ b/docker/PYROS_DOCKER_SHELL @@ -0,0 +1,3 @@ +#!/bin/bash + +docker exec -it pyros bash \ No newline at end of file diff --git a/docker/PYROS_DOCKER_START b/docker/PYROS_DOCKER_START new file mode 100755 index 0000000..80b5727 --- /dev/null +++ b/docker/PYROS_DOCKER_START @@ -0,0 +1,3 @@ +#!/bin/bash + +docker-compose up -d \ No newline at end of file diff --git a/docker/PYROS_DOCKER_TEST b/docker/PYROS_DOCKER_TEST new file mode 100755 index 0000000..8597b03 --- /dev/null +++ b/docker/PYROS_DOCKER_TEST @@ -0,0 +1,3 @@ +#!/bin/bash + +docker exec -it pyros python3 pyros.py test \ No newline at end of file diff --git a/docker/PYROS_DOCKER_UPDATE b/docker/PYROS_DOCKER_UPDATE new file mode 100755 index 0000000..e90e1af --- /dev/null +++ b/docker/PYROS_DOCKER_UPDATE @@ -0,0 +1,3 @@ +#!/bin/bash + +docker exec -it pyros python3 pyros.py update \ No newline at end of file -- libgit2 0.21.2