-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pavel Kraynyukhov
committed
Jul 17, 2019
1 parent
1948b92
commit a6d2d22
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." |