forked from primait/opentelemetry_absinthe
-
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.
Autogenerated update drone from suite-py 202010301134 (primait#2)
- Loading branch information
1 parent
d7d8f5e
commit 497b093
Showing
3 changed files
with
33 additions
and
10 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[ | ||
locals_without_parens: [ | ||
field: :*, | ||
resolve: :*, | ||
plug: :*, | ||
arg: :*, | ||
parse: :*, | ||
serialize: :*, | ||
value: :*, | ||
has_one: :*, | ||
has_many: :*, | ||
from: :*, | ||
get: :*, | ||
post: :*, | ||
put: :*, | ||
belongs_to: :* | ||
], | ||
inputs: ["lib/**/*.{ex,exs}", "test/**/*.{ex,exs}", "config/**/*.{ex,exs}"], | ||
line_length: 120 | ||
] |
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 |
---|---|---|
@@ -1,16 +1,10 @@ | ||
FROM prima/elixir-official:1.10.2-1 | ||
|
||
WORKDIR /code | ||
|
||
RUN groupadd -g 1000 app && \ | ||
useradd -g 1000 -u 1000 --system --create-home app && \ | ||
mix local.hex --force && \ | ||
mix local.rebar --force && \ | ||
cp -rp /root/.mix /home/app/ && \ | ||
chown -R app:app /home/app/.mix | ||
FROM 001575623345.dkr.ecr.eu-west-1.amazonaws.com/elixir:1.10.2-1 | ||
|
||
# Serve per avere l'owner dei file scritti dal container uguale all'utente Linux sull'host | ||
USER app | ||
|
||
WORKDIR /code | ||
|
||
COPY ["entrypoint", "/entrypoint"] | ||
|
||
ENTRYPOINT ["/entrypoint"] |
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