Bastillion icon indicating copy to clipboard operation
Bastillion copied to clipboard

Is thare an official docker image for this project?

Open linuxd3v opened this issue 6 years ago • 5 comments

Is there an official docker image in dockerhub?

linuxd3v avatar Aug 26 '19 18:08 linuxd3v

No, there is no official docker image on dockerhub.

lucapalano avatar Aug 26 '19 21:08 lucapalano

Please can we have one :)

davidwindell avatar Jan 18 '20 01:01 davidwindell

Any community docker edition ?

elRadix avatar Jan 28 '20 21:01 elRadix

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

lohrbini avatar May 17 '22 20:05 lohrbini

FYI, see discussion at #90.

pataquets avatar Sep 15 '22 21:09 pataquets