@@ -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 | ||||
@@ -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 | ||||
@@ -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 |
@@ -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> | ||||
@@ -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, | ||||
@@ -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 |