Skip to content

Commit

Permalink
test: use ADD for ejabberd test
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Dec 6, 2024
1 parent a461ca2 commit 1fc22a3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/dockerfiles/ejabberd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
FROM alpine:3.15.4 AS build
ARG REPOSITORY=https://github.com/processone/ejabberd.git
#ARG VERSION=master
ARG VERSION=99d9e315a3c0524d84197e63741790d5893c51f4

RUN apk upgrade --update musl \
&& apk add \
Expand Down Expand Up @@ -32,9 +29,9 @@ RUN mix local.hex --force \

WORKDIR ejabberd

RUN git clone $REPOSITORY . \
&& git checkout $VERSION \
&& mv .github/container/ejabberdctl.template . \
ADD https://github.com/processone/ejabberd.git#99d9e315a3c0524d84197e63741790d5893c51f4 .

RUN mv .github/container/ejabberdctl.template . \
&& ./autogen.sh \
&& ./configure --with-rebar=mix \
&& make deps \
Expand Down

0 comments on commit 1fc22a3

Please sign in to comment.