Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test running DROID inside Docker, without inner containers #139

Open
jamesaoverton opened this issue Jun 19, 2023 · 1 comment
Open

Test running DROID inside Docker, without inner containers #139

jamesaoverton opened this issue Jun 19, 2023 · 1 comment
Assignees

Comments

@jamesaoverton
Copy link
Member

No description provided.

@lmcmicu
Copy link
Collaborator

lmcmicu commented Jun 20, 2023

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
  1. Run docker build -t mike-droid --file Dockerfile .
  2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants