Unverified Commit 2bf13a51 authored by Mark Beamer Jr's avatar Mark Beamer Jr
Browse files

ci test

parent 394364ef
......@@ -35,7 +35,7 @@ docker-compose pull
if [ -d persist ]; then rm -r persist; fi
mkdir persist
mkdir persist/.lbrynet
ls -lha ./persist/.lbrynet
ls -lha ./persist
chmod u+rw ./persist/.lbrynet
docker-compose up -d
printf 'waiting for internal apis'
......@@ -43,7 +43,6 @@ until $(curl --output /dev/null --silent --head --fail http://localhost:15400);
printf '.'
sleep 1
sleep 150
echo "successfully started..."
#Data Setup for test
## This base image is for running the latest lbrynet-daemon release.
FROM ubuntu:18.04 as prep
FROM ubuntu:16.04 as prep
LABEL MAINTAINER="leopere [at] nixc [dot] us"
RUN apt-get update && apt-get -y install unzip curl telnet wait-for-it
......@@ -13,7 +13,7 @@ RUN unzip /lbrynet.linux.zip -d /lbrynet/ && \
mv /lbrynet/lbrynet /usr/bin && \
chmod a+x /usr/bin/checkmount /usr/bin/start /usr/bin/lbrynet
FROM ubuntu:18.04 as app
FROM ubuntu:16.04 as app
COPY --from=prep /usr/bin/start /usr/bin/checkmount /usr/bin/lbrynet /usr/bin/
RUN adduser lbrynet --gecos GECOS --shell /bin/bash --disabled-password --home /home/lbrynet
## Daemon port [Intended for internal use]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment