GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — netty/docker/Dockerfile.al2023 at 4.2 · lhotari/netty

Expand file tree

/

Dockerfile.al2023

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
72 lines (63 loc) · 1.77 KB
/

Dockerfile.al2023

Copy path

File metadata and controls

72 lines (63 loc) · 1.77 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
FROM --platform=linux/amd64 amazonlinux:2023
ARG java_version=11.0.30-amzn
ARG aws_lc_version=v1.54.0
ARG maven_version=3.9.10
ENV JAVA_VERSION $java_version
ENV AWS_LC_VERSION $aws_lc_version
ENV MAVEN_VERSION $maven_version
# install dependencies
RUN dnf install -yq \
apr-devel \
autoconf \
automake \
bzip2 \
clang \
cmake \
gcc \
gcc-c++ \
git \
glibc-devel \
golang \
libgcc \
libstdc++ \
libstdc++-devel \
libstdc++-static \
libtool \
make \
ninja-build \
patch \
patchelf \
perl \
perl-parent \
perl-devel \
tar \
unzip \
wget \
which \
zip
# Downloading and installing SDKMAN!
RUN curl -s "https://beta.sdkman.io?ci=true" | bash
# Installing Java removing some unnecessary SDKMAN files
RUN bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && \
yes | sdk install java $JAVA_VERSION && \
yes | sdk install maven $MAVEN_VERSION && \
rm -rf $HOME/.sdkman/archives/* && \
rm -rf $HOME/.sdkman/tmp/*"
RUN echo 'export JAVA_HOME="/root/.sdkman/candidates/java/current"' >> ~/.bashrc
RUN echo 'export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc
ENV PATH /root/.sdkman/candidates/java/current/bin:/root/.sdkman/candidates/maven/current/bin:$PATH
ENV JAVA_HOME=/root/.sdkman/candidates/java/current
# install rust and setup PATH
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
RUN echo 'PATH=$PATH:$HOME/.cargo/bin' >> ~/.bashrc
RUN mkdir "$HOME/sources" && \
git clone https://github.com/aws/aws-lc.git "$HOME/sources/aws-lc" && \
cd "$HOME/sources/aws-lc" && \
git checkout $AWS_LC_VERSION && \
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=/opt/aws-lc -DBUILD_SHARED_LIBS=1 -DBUILD_TESTING=0 && \
cmake --build build -- -j && \
cmake --install build
# Cleanup
RUN dnf clean all && \
rm -rf /var/cache/dnf && \
rm -rf "$HOME/sources"
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.