Skip to content

Commit c42e5a0

Browse files
authored
Update system requirements. (#59)
1 parent 8a2bca8 commit c42e5a0

File tree

6 files changed

+26
-20
lines changed

6 files changed

+26
-20
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"dockerComposeFile": "compose.yml",
1313
"features": {
14-
"ghcr.io/devcontainers-contrib/features/k6:1": {},
15-
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {},
14+
"ghcr.io/devcontainers-extra/features/k6:1": {},
15+
"ghcr.io/devcontainers-extra/features/zsh-plugins:0": {},
1616
"ghcr.io/devcontainers/features/github-cli:1": {}
1717
},
1818
// Use 'forwardPorts' to make a list of ports inside the container available locally.

.github/workflows/call-docker-build.yaml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
# template source: https://github.com/conradwt/docker-build-workflow/blob/main/templates/call-docker-build.yaml
2+
# template source: https://github.com/bretfisher/docker-build-workflow/blob/main/templates/call-docker-build.yaml
33
name: Docker Build
44

55
on:
@@ -21,12 +21,16 @@ concurrency:
2121
group: ${{ github.ref }}-${{ github.workflow }}
2222
cancel-in-progress: true
2323

24+
# reset permsissions to none at the workflow level
25+
# we'll set them at the job level below
26+
permissions: {}
27+
2428
jobs:
2529
call-docker-build:
2630
name: Call Docker Build
2731

2832
# FIXME: fork this repo and update this path to YOUR reusable workflow location
29-
uses: conradwt/docker-build-workflow/.github/workflows/reusable-docker-build.yaml@main
33+
uses: conradwt/docker-build-workflow/.github/workflows/reusable-docker-build-native.yaml@main
3034

3135
# set permissions here to be equal or greater than what's required in the Reusable Workflow
3236
# Permisions set here for the GITHUB_TOKEN are then passed to the Reusable Workflow
@@ -38,15 +42,16 @@ jobs:
3842
pull-requests: write # needed to create and update comments in PRs
3943

4044
# secrets:
41-
# # Only needed if with:dockerhub-enable is true below
42-
# # https://hub.docker.com/settings/security
43-
# dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
44-
# dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
45+
46+
# Only needed if with:dockerhub-enable is true below
47+
# https://hub.docker.com/settings/security
48+
# dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
49+
# dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
4550

4651
with:
4752
# NOTE: there are lots of input options for this reusable workflow
4853
# read the comments in the inputs area of the reusable workflow for more info
49-
# https://github.com/conradwt/docker-build-workflow/blob/main/.github/workflows/reusable-docker-build.yaml
54+
# https://github.com/BretFisher/docker-build-workflow/blob/main/.github/workflows/reusable-docker-build.yaml
5055

5156
# Here are just a few of the common defaults
5257

@@ -67,7 +72,8 @@ jobs:
6772

6873
# target:
6974

70-
# platforms: linux/amd64
71-
platforms: linux/amd64,linux/arm64
75+
# platforms are *native GitHub Runners by default, so only amd64 and/or arm64 are supported, and must be in JSON syntax.
76+
# for more platform build options, there's a "QEMU" reusable workflow option in this repo's .github/workflows folder
77+
platforms: '["linux/amd64", "linux/arm64"]'
7278

7379
# comment-enable: true

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
elixir 1.18.4-otp-28
2-
erlang 28.0.2
1+
elixir 1.19.2-otp-28
2+
erlang 28.1.1

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
# - https://pkgs.org/ - resource for finding needed packages
1313
# - Ex: hexpm/elixir:1.14.2-erlang-25.1.2-debian-bullseye-20221004-slim
1414
#
15-
ARG ELIXIR_VERSION=1.18.4
16-
ARG OTP_VERSION=28.0.2
17-
ARG DEBIAN_VERSION=bullseye-20250811-slim
15+
ARG ELIXIR_VERSION=1.19.2
16+
ARG OTP_VERSION=28.1.1
17+
ARG DEBIAN_VERSION=bullseye-20251103-slim
1818

1919
ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}"
2020
ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}"

mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule Worker.MixProject do
55
[
66
app: :worker,
77
version: "0.1.0",
8-
elixir: "~> 1.18.4",
8+
elixir: "~> 1.19.2",
99
start_permanent: Mix.env() == :prod,
1010
deps: deps()
1111
]
@@ -24,7 +24,7 @@ defmodule Worker.MixProject do
2424
[
2525
{:redix, "~> 1.3.0"},
2626
{:req, "~> 0.5.15"},
27-
{:credo, "~> 1.7.12", only: [:dev, :test], runtime: false}
27+
{:credo, "~> 1.7.13", only: [:dev, :test], runtime: false}
2828
]
2929
end
3030
end

mix.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
33
"castore": {:hex, :castore, "1.0.8", "dedcf20ea746694647f883590b82d9e96014057aff1d44d03ec90f36a5c0dc6e", [:mix], [], "hexpm", "0b2b66d2ee742cb1d9cb8c8be3b43c3a70ee8651f37b75a8b982e036752983f1"},
44
"certifi": {:hex, :certifi, "2.9.0", "6f2a475689dd47f19fb74334859d460a2dc4e3252a3324bd2111b8f0429e7e21", [:rebar3], [], "hexpm", "266da46bdb06d6c6d35fde799bcb28d36d985d424ad7c08b5bb48f5b5cdd4641"},
5-
"credo": {:hex, :credo, "1.7.12", "9e3c20463de4b5f3f23721527fcaf16722ec815e70ff6c60b86412c695d426c1", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "8493d45c656c5427d9c729235b99d498bd133421f3e0a683e5c1b561471291e5"},
6-
"file_system": {:hex, :file_system, "1.1.0", "08d232062284546c6c34426997dd7ef6ec9f8bbd090eb91780283c9016840e8f", [:mix], [], "hexpm", "bfcf81244f416871f2a2e15c1b515287faa5db9c6bcf290222206d120b3d43f6"},
5+
"credo": {:hex, :credo, "1.7.13", "126a0697df6b7b71cd18c81bc92335297839a806b6f62b61d417500d1070ff4e", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "47641e6d2bbff1e241e87695b29f617f1a8f912adea34296fb10ecc3d7e9e84f"},
6+
"file_system": {:hex, :file_system, "1.1.1", "31864f4685b0148f25bd3fbef2b1228457c0c89024ad67f7a81a3ffbc0bbad3a", [:mix], [], "hexpm", "7a15ff97dfe526aeefb090a7a9d3d03aa907e100e262a0f8f7746b78f8f87a5d"},
77
"finch": {:hex, :finch, "0.20.0", "5330aefb6b010f424dcbbc4615d914e9e3deae40095e73ab0c1bb0968933cadf", [:mix], [{:mime, "~> 1.0 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:mint, "~> 1.6.2 or ~> 1.7", [hex: :mint, repo: "hexpm", optional: false]}, {:nimble_options, "~> 0.4 or ~> 1.0", [hex: :nimble_options, repo: "hexpm", optional: false]}, {:nimble_pool, "~> 1.1", [hex: :nimble_pool, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "2658131a74d051aabfcba936093c903b8e89da9a1b63e430bee62045fa9b2ee2"},
88
"hackney": {:hex, :hackney, "1.18.1", "f48bf88f521f2a229fc7bae88cf4f85adc9cd9bcf23b5dc8eb6a1788c662c4f6", [:rebar3], [{:certifi, "~> 2.9.0", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "~> 6.1.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "~> 1.0.0", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~> 1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:parse_trans, "3.3.1", [hex: :parse_trans, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "~> 1.1.0", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}, {:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "a4ecdaff44297e9b5894ae499e9a070ea1888c84afdd1fd9b7b2bc384950128e"},
99
"hpax": {:hex, :hpax, "1.0.3", "ed67ef51ad4df91e75cc6a1494f851850c0bd98ebc0be6e81b026e765ee535aa", [:mix], [], "hexpm", "8eab6e1cfa8d5918c2ce4ba43588e894af35dbd8e91e6e55c817bca5847df34a"},

0 commit comments

Comments
 (0)