Skip to content

Commit

Permalink
Docker runenv for 0.8.0 AVX build
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kraynyukhov committed Jul 17, 2019
1 parent 1948b92 commit a6d2d22
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions dockerfiles/Dockerfile.lapps-runenv.0.8.0.bionic.avx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
FROM ubuntu:bionic

LABEL "co.new-web" "new WEB() LLP" version 1.0 maintainer "pk@new-web.co" description "LAppS run environment"

RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get update \
&& apt-get dist-upgrade -y

RUN apt-get install -y apt-utils

RUN apt-get install -y luarocks

ENV WORKSPACE /tmp

WORKDIR ${WORKSPACE}

ADD https://github.com/ITpC/LAppS.builds/raw/master/bionic/lapps-0.8.0-avx-amd64.deb ${WORKSPACE}/

WORKDIR ${WORKSPACE}

RUN ls -la ${WORKSPACE}/lapps-0.8.0-avx-amd64.deb

RUN apt install -y ${WORKSPACE}/lapps-0.8.0-avx-amd64.deb

RUN apt-get install -f -y

WORKDIR /opt/lapps/run

RUN echo "LAppS-0.8.0 is installed under /opt/lapps prefix. To run LAppS use /opt/lapps/bin/lapps.avx [-d] from within /opt/lapps/run directory. -d is an optional argument do run LAppS as a deamon."

RUN echo "Optionally /opt/lapps/bin/lapps.avx.notls and /opt/lapps/bin/lapps.avx.nostats.notls builds are provided for convinience"

RUN echo "You may add/install lua modules you want to use with LAppS from luarocks repository. You may twick this Dockerfile or do these operations within running container."

0 comments on commit a6d2d22

Please sign in to comment.