Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: use ADD for ejabberd test #210

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading