25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Dockerfile: Fix binary names

This commit is contained in:
Saarko 2024-07-21 11:47:12 +02:00
parent 4aa973fef5
commit fe2b508420
2 changed files with 7 additions and 6 deletions

View File

@ -94,13 +94,13 @@ RUN sed -i '/^loglevel:/a \ \
################################################################################
#' METHOD='package' - install ejabberd from binary tarball package
FROM cgr.dev/chainguard/wolfi-base AS package
COPY tarballs/ejabberd-*-linux-glibc-*.tar.gz /tmp/
COPY tarballs/ejabberd-*-linux-gnu-*.tar.gz /tmp/
WORKDIR /rootfs
ARG HOME
RUN home_root_dir=$(echo $HOME | sed 's|\(.*\)/.*|\1 |') \
&& mkdir -p $home_root_dir \
&& ARCH=$(uname -m | sed -e 's/x86_64/x64/;s/aarch64/arm64/') \
&& tar -xzf /tmp/ejabberd-*-linux-musl-$ARCH.tar.gz -C $home_root_dir
&& tar -xzf /tmp/ejabberd-*-linux-gnu-$ARCH.tar.gz -C $home_root_dir
################################################################################
#' OpenSSL - Create server certificate for localhost,

View File

@ -5,6 +5,7 @@ on:
workflows: [Installers]
types:
- completed
branches: [master]
env:
REGISTRY: ghcr.io
@ -26,7 +27,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: tarballs
pattern: tarballs
pattern: ejabberd-tarballs
merge-multiple: true
- name: Checkout ejabberd-contrib