Coder Social home page Coder Social logo

docker-inception-dojo's Introduction

docker-inception-dojo

A Dojo Docker image to execute Dojo tests.

Built both from alpine and ubuntu.

Usage

  1. Install Dojo
  2. Provide a Dojofile:
$ cat Dojofile
DOJO_DOCKER_IMAGE="kudulab/inception-dojo:ubuntu-0.4.0"
# or if you prefer the alpine version
# DOJO_DOCKER_IMAGE="kudulab/inception-dojo:alpine-0.4.0"
DOJO_DOCKER_OPTIONS="--privileged"
  1. Rundojo in the same directory as Dojofile. It will:
  • docker pull a Docker image
  • start a Docker container
  • log you into the Docker container
  1. Example commands to run inside the Dojo created container:
docker ps -a
docker-compose --version

Contributing

Instructions how to update this project.

  1. Create a new feature branch from the main branch
  2. Work on your changes in that feature branch. If you want, describe you changes in CHANGELOG.md.
  3. Build your image locally to check that it succeeds: ./tasks build ubuntu and ./tasks build alpine
  4. Test your image locally: ./tasks itest ubuntu and ./tasks itest alpine. You may need to install the test framework - you can run these commands to do it.
  5. You may also test your image by running it interactively with dojo. Please run ./tasks example ubuntu or ./tasks example alpine.
  6. If you are happy with the results, create a PR from your feature branch to master branch

After this, someone will read your PR, merge it and ensure version bump (using ./tasks set_version). CI pipeline will run to automatically build and test docker image, release the project and publish the docker image.

License

Copyright 2019-2024 Ava Czechowska, Tom Setkowski

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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.