mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-15 03:53:48 +02:00
Updated workflows
This commit is contained in:
parent
1f40bbf3fb
commit
548bf71ef8
5 changed files with 80 additions and 13 deletions
42
Dockerfile.Erlang-ruby.base
Normal file
42
Dockerfile.Erlang-ruby.base
Normal file
|
@ -0,0 +1,42 @@
|
|||
FROM debian:bullseye-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
wget \
|
||||
git \
|
||||
build-essential=* \
|
||||
libncurses5-dev=* \
|
||||
automake=* \
|
||||
autoconf=* \
|
||||
curl=* \
|
||||
ca-certificates=* \
|
||||
libssl-dev=* \
|
||||
libreadline-dev=* \
|
||||
libdpkg-perl=* \
|
||||
liberror-perl=* \
|
||||
libc6=* \
|
||||
libc-dev \
|
||||
perl=* \
|
||||
procps=* \
|
||||
inotify-tools=* \
|
||||
libssl1.1=* \
|
||||
perl-base=* \
|
||||
zlib1g-dev \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN git clone https://github.com/asdf-vm/asdf.git --branch v0.6.3 "$HOME"/.asdf && \
|
||||
echo '. $HOME/.asdf/asdf.sh' >> "$HOME"/.bashrc && \
|
||||
echo '. $HOME/.asdf/asdf.sh' >> "$HOME"/.profile
|
||||
|
||||
ENV PATH="${PATH}:/root/.asdf/shims:/root/.asdf/bin"
|
||||
|
||||
RUN mkdir -p /opt/erlang/epp_proxy/release
|
||||
WORKDIR /opt/erlang/epp_proxy
|
||||
|
||||
COPY .tool-versions ./
|
||||
RUN asdf plugin-add erlang
|
||||
RUN asdf install
|
||||
RUN asdf global erlang $(grep erlang .tool-versions | cut -d' ' -f2)
|
||||
RUN asdf plugin-add ruby
|
||||
RUN asdf plugin-add rebar
|
||||
RUN asdf install
|
Loading…
Add table
Add a link
Reference in a new issue