ontodev / droid

DROID Reminds us that Ordinary Individuals can be Developers
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Test running DROID inside Docker, without inner containers #139

Open jamesaoverton opened 1 year ago

lmcmicu commented 1 year ago

Here are steps to test this. Within the main DROID directory:

  1. Create the following Dockerfile:
    
    FROM debian:buster

ADD . . RUN apt-get update && apt-get -y install openjdk-11-jre openjdk-11-jdk aha make git


2. Run `docker build -t mike-droid --file Dockerfile .`
3. Run `docker run -e GITHUB_CLIENT_ID='YOUR_ID' -e GITHUB_CLIENT_SECRET='YOUR_SECRET' -e GITHUB_APP_STATE='YOUR_APP_STATE' -e PERSONAL_ACCESS_TOKEN='YOUR_TOKEN' -p 8090:8090 mike-droid java -jar target/uberjar/droid-0.1.0-SNAPSHOT-standalone.jar`