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

Is thare an official docker image for this project? #314

Open
linuxd3v opened this issue Aug 26, 2019 · 5 comments
Open

Is thare an official docker image for this project? #314

linuxd3v opened this issue Aug 26, 2019 · 5 comments

Comments

@linuxd3v
Copy link

Is there an official docker image in dockerhub?

@lucapalano
Copy link
Contributor

No, there is no official docker image on dockerhub.

@davidwindell
Copy link

Please can we have one :)

@elRadix
Copy link

elRadix commented Jan 28, 2020

Any community docker edition ?

@lohrbini
Copy link

lohrbini commented May 17, 2022

This could be used to run bastillion on a arm64 . But easily could be adjusted to amd64 systems.

The config file can be found here

adjusted values:

  • SSH Keys /root/.ssh/id_rsa and /root/.ssh/id_rsa.pub
  • Passphrase (if set)
  • DB Password

Dockerfile

FROM arm64v8/ubuntu:22.04

RUN apt update && apt dist-upgrade -y &&\
    apt install -y \
    ca-certificates-java \
    wget \
    git

RUN apt install -y \
    openjdk-18-jre-headless \
    openjdk-18-jdk \
    maven

RUN git clone https://github.com/bastillion-io/Bastillion.git

WORKDIR Bastillion

COPY BastillionConfig.properties src/main/resources/

RUN mvn install

EXPOSE 8443
ENTRYPOINT ["mvn", "jetty:run"]

Build the image

docker build -t bastillion-ubuntu .

Use compose for persistence

version: '3'
services:
  bastillion:
    image: bastillion-ubuntu
    ports:
      - 8443:8443
    volumes:
      - ./data:/Bastillion/target
      - ./ssh-keys:/root/.ssh

@pataquets
Copy link
Contributor

FYI, see discussion at #90.

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

6 participants