-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from olenagerasimova/artipie-http3-test
Artipie http3 test
- Loading branch information
Showing
15 changed files
with
602 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Ubuntu 16.04 | ||
# Oracle Java 21 64 bit | ||
# Maven 3.9.5 | ||
|
||
FROM ubuntu:22.04 | ||
|
||
# this is a non-interactive automated build - avoid some warning messages | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
# update dpkg repositories | ||
RUN apt-get update | ||
|
||
# install wget | ||
RUN apt-get install -y wget | ||
|
||
# get maven 3.3.9 | ||
RUN wget --no-verbose -O /tmp/apache-maven-3.9.5.tar.gz https://dlcdn.apache.org/maven/maven-3/3.9.5/binaries/apache-maven-3.9.5-bin.tar.gz | ||
|
||
# install maven | ||
RUN tar xzf /tmp/apache-maven-3.9.5.tar.gz -C /opt/ | ||
RUN ln -s /opt/apache-maven-3.9.5 /opt/maven | ||
RUN ln -s /opt/maven/bin/mvn /usr/local/bin | ||
RUN rm -f /tmp/apache-maven-3.9.5.tar.gz | ||
ENV MAVEN_HOME /opt/maven | ||
|
||
# remove download archive files | ||
RUN apt-get clean | ||
|
||
# set shell variables for java installation | ||
ENV java_version 21 | ||
ENV filename jdk-21_linux-x64_bin.tar.gz | ||
ENV downloadlink https://download.oracle.com/java/21/latest/$filename | ||
|
||
# download java, accepting the license agreement | ||
RUN wget --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" -O /tmp/$filename $downloadlink | ||
|
||
# unpack java | ||
RUN mkdir /opt/java-oracle/ && mkdir /opt/java-oracle/jdk21/ && tar -zxf /tmp/$filename -C /opt/java-oracle/jdk21/ --strip-components 1 | ||
ENV JAVA_HOME /opt/java-oracle/jdk21 | ||
ENV PATH $JAVA_HOME/bin:$PATH | ||
|
||
# configure symbolic links for the java and javac executables | ||
RUN update-alternatives --install /usr/bin/java java $JAVA_HOME/bin/java 20000 && update-alternatives --install /usr/bin/javac javac $JAVA_HOME/bin/javac 20000 | ||
|
||
# check maven | ||
RUN mvn --version | ||
|
||
RUN mkdir /usr/plugin/ && mkdir /usr/plugin/src/ && mkdir /usr/plugin/src/main/ | ||
COPY src/main /usr/plugin/src/main/ | ||
COPY pom.xml /usr/plugin/pom.xml | ||
|
||
WORKDIR "/usr/plugin" | ||
|
||
RUN mvn install -DskipTests | ||
|
||
CMD [""] |
Oops, something went wrong.
57d6d4f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't able to retrieve PDD puzzles from the code base and submit them to github. If you think that it's a bug on our side, please submit it to yegor256/0pdd:
Please, copy and paste this stack trace to GitHub:
57d6d4f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't able to retrieve PDD puzzles from the code base and submit them to github. If you think that it's a bug on our side, please submit it to yegor256/0pdd:
Please, copy and paste this stack trace to GitHub:
57d6d4f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't able to retrieve PDD puzzles from the code base and submit them to github. If you think that it's a bug on our side, please submit it to yegor256/0pdd:
Please, copy and paste this stack trace to GitHub: