Archived
1
0
Fork 0

Prosody: Enable admin_web

The admin_web module needs to fetch some prereqs before it works.
This commit is contained in:
Joerg Elfring 2019-02-19 18:22:31 +01:00
parent 8920a5865b
commit 42b941f2a7

View file

@ -5,13 +5,15 @@ LABEL maintainer "J. Elfring <devops@elfrinjo.de>"
## Install Packages ## Install Packages
RUN apk add --no-cache \ RUN apk add --no-cache \
--update \ --update \
ca-certificates \
libcrypto1.1 \ libcrypto1.1 \
libidn \ libidn \
lua5.2 \ lua5.2 \
lua5.2-expat \ lua5.2-expat \
lua5.2-filesystem \ lua5.2-filesystem \
lua5.2-sec \ lua5.2-sec \
lua5.2-socket lua5.2-socket \
openssl
## Install build envirnoment, build and remove unneeded things ## Install build envirnoment, build and remove unneeded things
## This is done in one step to reduce image size ## This is done in one step to reduce image size
@ -46,6 +48,8 @@ RUN set -x \
&& mkdir /usr/local/lib/prosody-community-modules \ && mkdir /usr/local/lib/prosody-community-modules \
&& cd /usr/local/lib/prosody-community-modules \ && cd /usr/local/lib/prosody-community-modules \
&& tar xzf /prosody-modules.tar.gz --strip 1 \ && tar xzf /prosody-modules.tar.gz --strip 1 \
&& cd mod_admin_web/admin_web \
&& ./get_deps.sh \
## ##
## Cleanup ## Cleanup
&& rm -rf /prosody-src \ && rm -rf /prosody-src \