You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/09/20 19:21:51 UTC
[commons-crypto] branch master updated: A Dockerfile for Linux and
Windows.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
The following commit(s) were added to refs/heads/master by this push:
new a746c59 A Dockerfile for Linux and Windows.
a746c59 is described below
commit a746c59a2b7ac4e9700aa0e873024c5a98298a23
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Sep 20 15:21:47 2020 -0400
A Dockerfile for Linux and Windows.
---
src/conf/Docker/Dockerfile-luw | 32 ++++++++++++++++++++++++++++++++
src/conf/Docker/readme.txt | 1 +
2 files changed, 33 insertions(+)
diff --git a/src/conf/Docker/Dockerfile-luw b/src/conf/Docker/Dockerfile-luw
new file mode 100644
index 0000000..e2944fd
--- /dev/null
+++ b/src/conf/Docker/Dockerfile-luw
@@ -0,0 +1,32 @@
+FROM ubuntu:trusty
+
+ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64/
+ENV PATH=$PATH:/opt/apache-maven-3.6.3/bin
+
+RUN pwd ; uname -a && \
+ apt-get update -y && \
+ apt-get install build-essential -y && \
+ apt-get install software-properties-common -y && \
+ apt-get update -y && \
+ sudo add-apt-repository ppa:openjdk-r/ppa -y && \
+ apt-get update -y && \
+ apt-get install openjdk-8-jdk -y && \
+ apt-get install g++-mingw-w64 -y && \
+ apt-get install gcc-multilib -y && \
+ apt-get install libssl-dev -y && \
+ ln -s /usr/include/x86_64-linux-gnu /usr/include/i386-linux-gnu && \
+ ln -s /usr/include/x86_64-linux-gnu/openssl/opensslconf.h /usr/include/openssl/opensslconf.h && \
+ apt-get install git -y && \
+ apt-get install wget -y && \
+ cd ~ && \
+ wget http://apache.mirrors.hoobly.com/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz && \
+ cd /opt && \
+ tar -zxf ~/apache-maven-3.6.3-bin.tar.gz && \
+ sudo dpkg --purge --force-depends ca-certificates-java && \
+ apt-get install ca-certificates-java -y && \
+ apt-get install g++-multilib -y && \
+ export OPENSSL_HOME=/usr && \
+ cd ~
+
+
+CMD /bin/bash
diff --git a/src/conf/Docker/readme.txt b/src/conf/Docker/readme.txt
new file mode 100644
index 0000000..d06c97a
--- /dev/null
+++ b/src/conf/Docker/readme.txt
@@ -0,0 +1 @@
+Dockerfile-luw: A Dockerfile for Linux and Windows.