Skip to content

Commit

Permalink
Dockerfile: Fix binary names
Browse files Browse the repository at this point in the history
  • Loading branch information
sando38 committed Jul 21, 2024
1 parent 4aa973f commit fe2b508
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Container

on:
workflow_run:
workflows: [Installers]
types:
- completed
workflows: [Installers]
types:
- completed
branches: [master]

env:
REGISTRY: ghcr.io
Expand All @@ -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
Expand Down

0 comments on commit fe2b508

Please sign in to comment.