Browse Source

no longer need top-level docker dir, assets all moved elsewhere

tags/v1.5.4
Jonathan Cobb 4 years ago
parent
commit
6207d6a155
7 changed files with 12 additions and 9 deletions
  1. +3
    -3
      Dockerfile
  2. +3
    -3
      Dockerfile.slim
  3. +1
    -1
      bin/bdocker
  4. +1
    -0
      bubble-server/pom.xml
  5. +0
    -0
     
  6. +1
    -1
      docs/docker-launcher.md
  7. +3
    -1
      launcher.sh

+ 3
- 3
Dockerfile View File

@@ -54,9 +54,9 @@ RUN mkdir /bubble
COPY bin/install_packer.sh /usr/local/bin/ COPY bin/install_packer.sh /usr/local/bin/
RUN /usr/local/bin/install_packer.sh RUN /usr/local/bin/install_packer.sh


# Install API jar and env file. Make sure we get the regular jar and not the full jar
COPY bubble-server/target/bubble-server-*-SNAPSHOT.jar /bubble/bubble.jar
COPY docker/bubble.env /bubble/bubble.env
# Install API jar, touch env file. Make sure we get the regular jar and not the full jar
COPY bubble-server/target/bubble-server-*-prod.jar /bubble/bubble.jar
RUN touch /bubble/bubble.env


# Setup Bubble service # Setup Bubble service
RUN mkdir /etc/service/bubble RUN mkdir /etc/service/bubble


+ 3
- 3
Dockerfile.slim View File

@@ -54,9 +54,9 @@ RUN mkdir /bubble
COPY bin/install_packer.sh /usr/local/bin/ COPY bin/install_packer.sh /usr/local/bin/
#RUN /usr/local/bin/install_packer.sh #RUN /usr/local/bin/install_packer.sh


# Install env file only
#COPY bubble-server/target/bubble-server-*-SNAPSHOT.jar /bubble/bubble.jar
COPY docker/bubble.env /bubble/bubble.env
# Touch env file only
#COPY bubble-server/target/bubble-server-*-prod.jar /bubble/bubble.jar
RUN touch /bubble/bubble.env


# Setup Bubble service # Setup Bubble service
RUN mkdir /etc/service/bubble RUN mkdir /etc/service/bubble


docker/bubble.sh → bin/bdocker View File

@@ -4,7 +4,7 @@
# #
# Build, run or push a docker container for a Bubble launcher. Intended for developer use. # Build, run or push a docker container for a Bubble launcher. Intended for developer use.
# #
# bubble.sh [mode] [version]
# bdocker [mode] [version]
# #
# mode : build, run or push # mode : build, run or push
# build - build the docker images # build - build the docker images

+ 1
- 0
bubble-server/pom.xml View File

@@ -386,6 +386,7 @@
<profile> <profile>
<id>production</id> <id>production</id>
<build> <build>
<finalName>bubble-server-${project.version}-prod.jar</finalName>
<resources> <resources>
<resource> <resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>


+ 0
- 0
View File


+ 1
- 1
docs/docker-launcher.md View File

@@ -6,7 +6,7 @@ The Bubble Docker Launcher makes it easy to run a Bubble launcher.
If you're running Linux or Mac OS X, try the automatic setup script first. If you're running Linux or Mac OS X, try the automatic setup script first.
This script will automatically install docker, pull the Bubble docker image and run it. This script will automatically install docker, pull the Bubble docker image and run it.


/bin/bash -c "$(curl -sL https://git.bubblev.org/bubblev/bubble/raw/branch/master/docker/launcher.sh)"
/bin/bash -c "$(curl -sL https://git.bubblev.org/bubblev/bubble/raw/branch/master/launcher.sh)"


## Docker Installation ## Docker Installation
If you're running Windows, or if the above script has problems installing Docker, If you're running Windows, or if the above script has problems installing Docker,


docker/launcher.sh → launcher.sh View File

@@ -4,7 +4,9 @@
# #
# Run bubble launcher in a docker container. Works on Linux or Mac OS. # Run bubble launcher in a docker container. Works on Linux or Mac OS.
# #
# /bin/bash -c "$(curl -sL https://git.bubblev.org/bubblev/bubble/raw/branch/master/docker/launcher.sh)"
# Intended to be "run from anywhere" like this:
#
# /bin/bash -c "$(curl -sL https://git.bubblev.org/bubblev/bubble/raw/branch/master/launcher.sh)"
# #
# This command will: # This command will:
# - install docker if no "docker" command found # - install docker if no "docker" command found

Loading…
Cancel
Save