Skip to content

Commit c655ad4

Browse files
committed
Update elixir versions
1 parent 3e7f2b0 commit c655ad4

File tree

7 files changed

+35
-35
lines changed

7 files changed

+35
-35
lines changed

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
elixir 1.16.1-otp-26
2-
erlang 26.2.2
1+
elixir 1.18.2-otp-27
2+
erlang 27.2.2
33
nodejs 18.15.0

services/app/Dockerfile.codebattle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ COPY apps/codebattle/priv/gettext ./priv/gettext
2020

2121
RUN yarn build
2222

23-
FROM elixir:1.16 AS compile-image
23+
FROM elixir:1.18 AS compile-image
2424
ARG GIT_HASH
2525

2626
ENV APP_VERSION=$GIT_HASH
@@ -57,7 +57,7 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf
5757

5858
COPY --from=compile-image /opt/release/lib/codebattle-0.1.0/priv/static/assets/ /var/www/assets
5959

60-
FROM elixir:1.16 AS runtime-image
60+
FROM elixir:1.18 AS runtime-image
6161

6262
RUN apt-get update && apt-get install --no-install-recommends -y ca-certificates wkhtmltopdf git make curl vim \
6363
&& rm -rf /var/lib/apt/lists/*

services/app/Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM elixir:1.16
1+
FROM elixir:1.18
22
ENV DOCKER_CHANNEL stable
33
ENV DOCKER_VERSION 20.10.9
44

services/app/Dockerfile.runner

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM elixir:1.16-alpine AS compile-image
1+
FROM elixir:1.18-alpine AS compile-image
22
ENV MIX_ENV=prod
33

44
WORKDIR /opt/app
@@ -20,7 +20,7 @@ COPY ./apps/runner/ ./apps/runner/
2020
RUN mix release runner \
2121
&& mv _build/prod/rel/runner /opt/release
2222

23-
FROM elixir:1.16-alpine AS runtime-image
23+
FROM elixir:1.18-alpine AS runtime-image
2424

2525
ENV DOCKER_CHANNEL stable
2626
ENV DOCKER_VERSION 24.0.9

services/app/apps/runner/dockers/elixir/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM codebattle/runner-rs:latest AS runner
22

3-
FROM elixir:1.16.1-alpine
3+
FROM elixir:1.18.1-alpine
44

55
ENV ERL_MAX_PORTS 1024
66

services/app/apps/runner/lib/runner/languages.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,12 +388,12 @@ defmodule Runner.Languages do
388388
checker_version: 2,
389389
output_version: 2,
390390
generate_checker?: false,
391-
version: "1.16.1",
391+
version: "1.18.1",
392392
check_dir: "check",
393393
container_run_timeout: "20s",
394394
solution_file_name: "solution.exs",
395395
checker_file_name: "checker.exs",
396-
docker_image: "codebattle/elixir:1.16.1",
396+
docker_image: "codebattle/elixir:1.18.1",
397397
solution_template: """
398398
defmodule Solution do
399399
def solution(<%= arguments %>) do

services/app/mix.lock

Lines changed: 25 additions & 25 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)