Skip to content

Instantly share code, notes, and snippets.

@landier
Created September 17, 2019 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save landier/dcd69dac6882fcd14ad09dc2917e2e01 to your computer and use it in GitHub Desktop.
Save landier/dcd69dac6882fcd14ad09dc2917e2e01 to your computer and use it in GitHub Desktop.
Hue release environment Docker image

build

docker build . -t hue-dev -f tools/docker/dev/Dockerfile

run

docker run --rm -it --volume $PWD:/data --workdir /data --user $(id -u):$(id -g) hue-dev make prod
# Welcome to Hue (http://gethue.com) Dockerfile
# Build an image from a remote github or local cloned Hue repository.
FROM ubuntu:18.04
LABEL description="Hue Project https://github.com/cloudera/hue"
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -y && apt-get install -y \
build-essential \
libkrb5-dev \
libmysqlclient-dev \
libssl-dev \
libsasl2-dev \
libsasl2-modules-gssapi-mit \
libsqlite3-dev \
libtidy-dev \
libxml2-dev \
libxslt-dev \
libffi-dev \
libldap2-dev \
libpq-dev \
asciidoc \
python-dev \
python-setuptools \
libgmp3-dev \
libz-dev \
software-properties-common \
curl \
git \
rsync \
sudo \
maven \
gcc \
swig \
# openssl \ # Breaks build
xmlsec1 \
libxmlsec1-openssl \
hugo \
&& rm -rf /var/lib/apt/lists/*
# Need recent version for Ubuntu
RUN curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - \
&& apt-get install -y nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment