hackney 4, httpoison 3, sentry 14 -- and the Elixir 1.20 / OTP 28 image they need

9d57f0c · gmorell · 2026-11-09 05:53

52 files +108 -50
Message
{commit_body(@commit)}

Files changed

modified Dockerfile
+6 −1
@@ -1,4 +1,7 @@
1 −FROM docker.io/elixir:1.15-alpine
1 +# Elixir 1.17+ and OTP 27+ are what httpoison 3 and hackney 4 need; this is
2 +# the pair dev runs on. Not pinned to the patch: the 1.20.x-otp-28-alpine tags
3 +# have shipped without an amd64 image, while this one carries it.
4 +FROM docker.io/elixir:1.20-otp-28-alpine
2 5 MAINTAINER Gabe <gmp@gmp.io>
3 6 ARG app_name=apollos_crib
4 7 ARG phoenix_subdir=.
@@ -20,6 +23,8 @@ RUN cd ${phoenix_subdir}/apps/room_sanctum/assets \
20 23 && mix assets.deploy \
21 24 && cd ../../ \
22 25 RUN mix download_data
26 +# The source lines Sentry sends with a stack trace; config/prod.exs says which.
27 +RUN mix sentry.package_source_code
23 28 RUN mix release ${app_name} \
24 29 && mv _build/${build_env}/rel/${app_name} /opt/release \
25 30 && mv /opt/release/bin/${app_name} /opt/release/bin/start_server
modified apps/room_air_quality/mix.exs
+3 −1
@@ -28,8 +28,10 @@ defmodule RoomAirQuality.MixProject do
28 28 # Poison pins decimal ~> 2.x; see the root mix.exs. Repeated here so the
29 29 # override holds when this app is built or tested on its own.
30 30 {:decimal, "~> 3.2", override: true},
31 + # wheretz pins httpoison ~> 1.6 for its download_data task; see the root
32 + # mix.exs. Repeated here for the same reason as decimal.
33 + {:httpoison, "~> 3.0", override: true},
31 34 {:csv, "~> 3.0"},
32 − {:httpoison, "~> 1.8"},
33 35 {:poison, "~> 5.0"},
34 36 {:parent, "~> 0.12.1"},
35 37 {:timex, "~> 3.7"},
modified apps/room_bourse/mix.exs
+1 −1
@@ -21,7 +21,7 @@ defmodule RoomBourse.MixProject do
21 21
22 22 defp deps do
23 23 [
24 − {:httpoison, "~> 1.8"},
24 + {:httpoison, "~> 3.0"},
25 25 {:poison, "~> 5.0", override: true}
26 26 ]
27 27 end
modified apps/room_calendar/mix.exs
+3 −0
@@ -28,6 +28,9 @@ defmodule RoomCalendar.MixProject do
28 28 # Poison pins decimal ~> 2.x; see the root mix.exs. Repeated here so the
29 29 # override holds when this app is built or tested on its own.
30 30 {:decimal, "~> 3.2", override: true},
31 + # wheretz pins httpoison ~> 1.6 for its download_data task; see the root
32 + # mix.exs. Repeated here for the same reason as decimal.
33 + {:httpoison, "~> 3.0", override: true},
31 34 {:ical, "~> 3.2"},
32 35 {:room_sanctum, in_umbrella: true}
33 36 # {:dep_from_hexpm, "~> 0.3.0"},
modified apps/room_drought/mix.exs
+1 −1
@@ -21,7 +21,7 @@ defmodule RoomDrought.MixProject do
21 21
22 22 defp deps do
23 23 [
24 − {:httpoison, "~> 1.8"},
24 + {:httpoison, "~> 3.0"},
25 25 {:poison, "~> 5.0", override: true}
26 26 ]
27 27 end
modified apps/room_ephem/mix.exs
+3 −0

Click to load diff…

modified apps/room_gbfs/mix.exs
+3 −1

Click to load diff…

modified apps/room_github/mix.exs
+1 −1

Click to load diff…

modified apps/room_gitlab/mix.exs
+1 −1

Click to load diff…

modified apps/room_gtfs/lib/room_gtfs/application.ex
+9 −0

Click to load diff…

modified apps/room_gtfs/mix.exs
+3 −1

Click to load diff…

modified apps/room_hermes/mix.exs
+6 −1

Click to load diff…

modified apps/room_icarus/mix.exs
+1 −1

Click to load diff…

modified apps/room_observatory/mix.exs
+6 −0

Click to load diff…

modified apps/room_packages/mix.exs
+1 −1

Click to load diff…

modified apps/room_pollen/mix.exs
+1 −1

Click to load diff…

modified apps/room_sanctum/lib/room_sanctum/workers/ankyra_worker.ex
+8 −1

Click to load diff…

modified apps/room_sanctum/mix.exs
+6 −2

Click to load diff…

modified apps/room_tidal/mix.exs
+3 −1

Click to load diff…

modified apps/room_treasury/mix.exs
+1 −1

Click to load diff…

modified apps/room_weather/mix.exs
+3 −0

Click to load diff…

modified apps/room_zeus/mix.exs
+6 −0

Click to load diff…

modified config/prod.exs
+8 −0

Click to load diff…

modified config/runtime.exs
+5 −21

Click to load diff…

modified mix.exs
+7 −2

Click to load diff…

modified mix.lock
+12 −10

Click to load diff…

Parents: d095997