Skip to content

Commit

Permalink
h2o 3.32.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
marevol committed Jan 7, 2021
1 parent 3c0c640 commit 6d6ee37
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
20 changes: 9 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
FROM adoptopenjdk:11-jdk-hotspot-bionic as builder
FROM adoptopenjdk:11-jdk-hotspot-focal as builder

ENV DEBIAN_FRONTEND=noninteractive

WORKDIR /build

RUN apt update && \
apt install -y wget curl s3cmd libffi-dev libxml2-dev libssl-dev \
libcurl4-openssl-dev libfreetype6 libfreetype6-dev libfontconfig1 \
libfontconfig1-dev build-essential chrpath libxft-dev \
git unzip python-pip python-dev python-virtualenv libmysqlclient-dev \
texlive texlive-fonts-extra texlive-htmlxml python3 python3-dev \
libcurl4-gnutls-dev libfreetype6 libfreetype6-dev libfontconfig1 \
libfontconfig1-dev build-essential chrpath libxft-dev python3-pandas \
git unzip libmysqlclient-dev texlive-full python3 python3-dev \
python3-pip python3-virtualenv software-properties-common \
software-properties-common texinfo texlive-bibtex-extra \
texlive-formats-extra texlive-generic-extra r-base r-base-dev \
python-gssapi libkrb5-dev libmysqlclient-dev && \
software-properties-common texinfo libgit2-dev r-base r-base-dev \
python3-virtualenv python3-gssapi libkrb5-dev libmysqlclient-dev && \
R -e 'chooseCRANmirror(graphics=FALSE, ind=54);install.packages(c("R.utils", "AUC", "mlbench", "flexclust", "randomForest", "bit64", "HDtweedie", "RCurl", "jsonlite", "statmod", "devtools", "roxygen2", "testthat", "Rcpp", "fpc", "RUnit", "ade4", "glmnet", "gbm", "ROCR", "e1071", "ggplot2", "LiblineaR", "survival"))' && \
curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
apt-get update -q -y && \
Expand All @@ -24,7 +22,7 @@ ARG GIT_BRANCH=master
ARG BUILD_NUMBER=0

RUN git clone https://github.com/h2oai/h2o-3.git -b $GIT_BRANCH && \
rm /usr/bin/python && ln -s /usr/bin/python3 /usr/bin/python && \
ln -s /usr/bin/python3 /usr/bin/python && \
pip3 install --upgrade pip && \
pip3 install -r h2o-3/h2o-py/test-requirements.txt && \
useradd -m -u 1000 docker && chown -R docker /build
Expand All @@ -35,9 +33,9 @@ ADD h2o.patch .
RUN cd h2o-3 && \
git apply ../h2o.patch && \
echo "BUILD_NUMBER=$BUILD_NUMBER" > gradle/buildnumber.properties && \
./gradlew build -x test
./gradlew build -x test --debug --stacktrace

FROM adoptopenjdk:11-jdk-hotspot-bionic
FROM adoptopenjdk:11-jdk-hotspot-focal

LABEL maintainer "CodeLibs, Inc."

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ See [Packages](https://github.com/orgs/codelibs/packages/container/package/h2o).

## Docker Images

- [`3.32.0.2`](https://github.com/codelibs/docker-h2o/blob/master/Dockerfile)
- [`3.32.0.3`](https://github.com/codelibs/docker-h2o/blob/master/Dockerfile)

## Getting Started

You can access http://localhost:54321 from the host OS with:

```console
$ docker run -it -p 54321:54321 ghcr.io/codelibs/h2o:snapshot
$ docker run -it -p 54321:54321 ghcr.io/codelibs/h2o:3.32.0.3
```

## Build
Expand All @@ -26,6 +26,6 @@ $ docker build --rm -t ghcr.io/codelibs/h2o:snapshot .
To build it on release tag,

```console
$ docker build --rm -t ghcr.io/codelibs/h2o:3.32.0.2 --build-arg GIT_BRANCH=jenkins-3.32.0.2 --build-arg BUILD_NUMBER=2 .
$ docker build --rm -t ghcr.io/codelibs/h2o:3.32.0.3 --build-arg GIT_BRANCH=jenkins-3.32.0.3 --build-arg BUILD_NUMBER=3 .
```

0 comments on commit 6d6ee37

Please sign in to comment.