You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2022/07/15 16:59:57 UTC

[qpid-proton-dotnet] branch main updated: PROTON-2579 Improve the containerize test speed

This is an automated email from the ASF dual-hosted git repository.

tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton-dotnet.git


The following commit(s) were added to refs/heads/main by this push:
     new d177047  PROTON-2579 Improve the containerize test speed
d177047 is described below

commit d17704794dd7762194f9538ef8f7542eefd54330
Author: Timothy Bish <ta...@gmail.com>
AuthorDate: Fri Jul 15 12:58:44 2022 -0400

    PROTON-2579 Improve the containerize test speed
    
    Use an alpine linux based image and clean up what gets installed to speed
    up the create time of the test container.
---
 docker/Dockerfile | 23 ++---------------------
 1 file changed, 2 insertions(+), 21 deletions(-)

diff --git a/docker/Dockerfile b/docker/Dockerfile
index 5cd4cac..fa78911 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -15,29 +15,11 @@
 #  limitations under the License.
 #
 
-FROM ubuntu:20.04
+FROM alpine:3.16
 WORKDIR /root
 
-ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=isolemnlysweariamuptonogood \
-    DEBIAN_FRONTEND=noninteractive
-
 # Install dependencies from vanilla system packages
-RUN apt-get -qqy update \
- && apt-get -qqy install --no-install-recommends ant \
-                                                 apt-transport-https \
-                                                 apt-utils \
-                                                 asciidoc \
-                                                 bison \
-                                                 build-essential \
-                                                 bzip2 \
-                                                 curl \
-                                                 doxygen \
-                                                 git \
-                                                 gnupg2 \
-                                                 libssl-dev \
-                                                 openjdk-11-jdk \
-                                                 wget \
- && apt-get -qqy clean
+RUN apk add bash icu-libs krb5-libs libgcc libintl libssl1.1 libstdc++ zlib git doxygen
 
 # Install a maven release  -------------------------------------------
 # Inspired from https://github.com/apache/accumulo-docker/blob/master/Dockerfile#L53
@@ -71,7 +53,6 @@ ENV PATH="/opt/maven/bin:${PATH}"
 # Install .NET SDK
 RUN cd /opt ; \
     wget https://dot.net/v1/dotnet-install.sh ; \
-    bash ./dotnet-install.sh --channel "5.0" --install-dir "/opt/dotnet" ;  \
     bash ./dotnet-install.sh --channel "6.0" --install-dir "/opt/dotnet" ;
 
 ENV PATH $PATH:/opt/dotnet


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org