-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
36 lines (35 loc) · 1.02 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM ubuntu:16.04
USER root
ENV DEBIAN_FRONTEND=noninteractive
#
ARG USER
ARG UID
ARG GROUP
ARG GID
ARG HOME
#
ENV USER=$USER
ENV UID=$UID
ENV GROUP=$GROUP
ENV GID=$GID
ENV HOME=$HOME
#
RUN groupadd -g $GID $GROUP
RUN useradd -g $GROUP -m -d $HOME $USER
RUN apt-get update
RUN apt-get install -y unzip
ADD https://s3.amazonaws.com/static.wickr.com/downloads/ubuntu/me/WickrMe-5.2.4.zip WickrMe-5.2.4.zip
RUN unzip WickrMe-5.2.4.zip
##################################
# RUN apt-get install --fix-missing -y ./WickrMe_5.02.04-01_amd64.deb ./wickr-qt_5.9.4_amd64.deb
# There's a bunch of prerequs that are not listed as dependancies for the WickrMe_5.02.04-01_amd64 package
# * libhunspell-1.3-0
# * libprotobuf9v5
# * libnss3
# * libxss1
# * libxslt1.1
# Adding them to the apt-get commands
##################################
RUN apt-get install --fix-missing -y ./WickrMe_5.02.04-01_amd64.deb ./wickr-qt_5.9.4_amd64.deb libhunspell-1.3-0 libprotobuf9v5 libnss3 libxss1 libxslt1.1 || apt-get install --fix-missing -y
USER $USER
CMD /usr/bin/WickrMe