Skip to content

Commit 56398ce

Browse files
committedFeb 24, 2025
fix: update golang and install erlang
1 parent 4792254 commit 56398ce

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
# can't use bookworm (latest LTS as of June23) yet, as elixir/erlang does not provide packages for it yet. Check if https://binaries.erlang-solutions.com/debian/dists/bookworm/ is available to change this
21
FROM openjdk:21-bookworm
32

43
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates ssh bash
54

65
COPY scripts/build ./scripts
76

8-
ENV GOLANG_VERSION 1.17
7+
ENV GOLANG_VERSION 1.23.6
98

109
RUN set -eux; \
1110
apt-get install -y --no-install-recommends bash build-essential openssl golang-go curl wget; \
@@ -56,7 +55,7 @@ RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
5655
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs
5756
# the following is a workaround for openjdk-11-jre-headless erroring due to not having a man path in slim-debian
5857
RUN apt-get update -y
59-
RUN apt-get install -y --no-install-recommends python3 python3-dev python3-full python3-pip python3-venv ruby jq gnupg git gettext libffi-dev libssl-dev php composer php-curl php-dom php-xml php-simplexml php-xmlwriter maven pkg-config twine sudo apt-transport-https
58+
RUN apt-get install -y --no-install-recommends erlang-base erlang-dev python3 python3-dev python3-full python3-pip python3-venv ruby jq gnupg git gettext libffi-dev libssl-dev php composer php-curl php-dom php-xml php-simplexml php-xmlwriter maven pkg-config twine sudo apt-transport-https
6059
# RUN apk add -U --no-cache ca-certificates bash nodejs npm python3 python3-dev py-pip ruby jq build-base gnupg git openssh curl gettext libffi libffi-dev openssl-dev php composer php-curl php7-tokenizer wget php-dom php-xml php-simplexml php-xmlwriter maven
6160

6261
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg

0 commit comments

Comments
 (0)