-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding builds for Elixir 1.11 and 1.12 (#5)
* Adding builds for Elixir 1.11 and 1.12 * add new versions to make all target
- Loading branch information
Nolan Davidson
authored
Jul 13, 2021
1 parent
f386c5e
commit f05e583
Showing
5 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM elixir:1.11-slim | ||
|
||
ENV SERVICE_ROOT /service | ||
ENV SERVICE_USER service | ||
|
||
ADD https://raw.githubusercontent.com/articulate/docker-consul-template-bootstrap/master/install.sh /tmp/consul_template_install.sh | ||
ADD https://raw.githubusercontent.com/articulate/docker-consul-template-bootstrap/master/wait-for-it.sh /wait-for-it.sh | ||
|
||
# install hex package manager | ||
RUN mix local.hex --force && \ | ||
mix local.rebar --force && \ | ||
bash /tmp/consul_template_install.sh && rm /tmp/consul_template_install.sh && \ | ||
groupadd $SERVICE_USER && useradd --create-home --home $SERVICE_ROOT --gid $SERVICE_USER --shell /bin/bash $SERVICE_USER && \ | ||
chmod a+rx /wait-for-it.sh | ||
|
||
WORKDIR $SERVICE_ROOT | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM elixir:1.12-slim | ||
|
||
ENV SERVICE_ROOT /service | ||
ENV SERVICE_USER service | ||
|
||
ADD https://raw.githubusercontent.com/articulate/docker-consul-template-bootstrap/master/install.sh /tmp/consul_template_install.sh | ||
ADD https://raw.githubusercontent.com/articulate/docker-consul-template-bootstrap/master/wait-for-it.sh /wait-for-it.sh | ||
|
||
# install hex package manager | ||
RUN mix local.hex --force && \ | ||
mix local.rebar --force && \ | ||
bash /tmp/consul_template_install.sh && rm /tmp/consul_template_install.sh && \ | ||
groupadd $SERVICE_USER && useradd --create-home --home $SERVICE_ROOT --gid $SERVICE_USER --shell /bin/bash $SERVICE_USER && \ | ||
chmod a+rx /wait-for-it.sh | ||
|
||
WORKDIR $SERVICE_ROOT | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters