mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Dockerfile: Fix binary names
This commit is contained in:
parent
4aa973fef5
commit
fe2b508420
4
.github/container/Dockerfile
vendored
4
.github/container/Dockerfile
vendored
@ -94,13 +94,13 @@ RUN sed -i '/^loglevel:/a \ \
|
|||||||
################################################################################
|
################################################################################
|
||||||
#' METHOD='package' - install ejabberd from binary tarball package
|
#' METHOD='package' - install ejabberd from binary tarball package
|
||||||
FROM cgr.dev/chainguard/wolfi-base AS 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
|
WORKDIR /rootfs
|
||||||
ARG HOME
|
ARG HOME
|
||||||
RUN home_root_dir=$(echo $HOME | sed 's|\(.*\)/.*|\1 |') \
|
RUN home_root_dir=$(echo $HOME | sed 's|\(.*\)/.*|\1 |') \
|
||||||
&& mkdir -p $home_root_dir \
|
&& mkdir -p $home_root_dir \
|
||||||
&& ARCH=$(uname -m | sed -e 's/x86_64/x64/;s/aarch64/arm64/') \
|
&& 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,
|
#' OpenSSL - Create server certificate for localhost,
|
||||||
|
9
.github/workflows/container.yml
vendored
9
.github/workflows/container.yml
vendored
@ -2,9 +2,10 @@ name: Container
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: [Installers]
|
workflows: [Installers]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
@ -26,7 +27,7 @@ jobs:
|
|||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: tarballs
|
path: tarballs
|
||||||
pattern: tarballs
|
pattern: ejabberd-tarballs
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
|
||||||
- name: Checkout ejabberd-contrib
|
- name: Checkout ejabberd-contrib
|
||||||
|
Loading…
Reference in New Issue
Block a user