Skip to content

Commit

Permalink
using amoc-arsenal GH repo for building amoc-arsenal-xmpp
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysGonchar committed Nov 24, 2023
1 parent 96074b2 commit 22fad04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ COPY ./ ./
RUN git clean -ffxd
RUN git restore -WS .

## if this command fails, run `rebar3 get-deps` before building image.
## this will ensure that amoc-arsenal is fetched into the docker build
## context directory, so it can be copied while building docker image.
COPY _build/default/lib/amoc_arsenal/ /Users/denysgonchar/git/amoc-arsenal

RUN rebar3 release

ENV PATH "/amoc_arsenal_xmpp/_build/default/rel/amoc_arsenal_xmpp/bin:${PATH}"
Expand Down
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
]}.

{ deps, [
{amoc_arsenal, {git, "file:///Users/denysgonchar/git/amoc-arsenal", {branch, "main"}}},
{amoc_arsenal, {git, "https://github.com/esl/amoc-arsenal.git", {branch, "main"}}},
{escalus, "4.2.7"},
{jiffy, "1.1.1"},
{fusco, "0.1.1"}
Expand Down
6 changes: 3 additions & 3 deletions rebar.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{"1.2.0",
[{<<"amoc">>,
{git,"https://github.com/esl/amoc",
{ref,"46f44f6f78930ea06df28e4013ecd6717b5d0738"}},
{ref,"dc2a8250a7a3f5985f25d59a177a6200a7028528"}},
1},
{<<"amoc_arsenal">>,
{git,"file:///Users/denysgonchar/git/amoc-arsenal",
{ref,"988a8c99d2eae768a6e43ed90d27441507b6811c"}},
{git,"https://github.com/esl/amoc-arsenal.git",
{ref,"3d80eba7bc17cccc06bb373c17565e8f4a279503"}},
0},
{<<"amoc_rest">>,
{git,"https://github.com/esl/amoc_rest.git",
Expand Down

0 comments on commit 22fad04

Please sign in to comment.