Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM ubuntu:18.04

USER root
WORKDIR /root

# Prepare OS
COPY setup-os.sh /root
RUN /root/setup-os.sh
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ Dockerized version of the distribution available at https://imply.io/download.

[Install Docker](docker-install.md)

To build an image, first download the Imply distribution from the link above, place it in the cloned repository, and then run:
To build an image, first download the Imply distribution from the link above, place it in the cloned repository, and then run:

```
export implyversion=2.5.8
export implyversion=2021.11
tar -xzf imply-$implyversion.tar.gz
docker build -t imply:$implyversion --build-arg implyversion=$implyversion .
docker build -t imply:$implyversion --build-arg implyversion=$implyversion . --platform amd64
```

To run the image in quickstart mode (single-machine, non-clustered):
Expand Down
53 changes: 14 additions & 39 deletions setup-os.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,51 +9,26 @@ apt-get -y upgrade
apt-get -y install --no-install-recommends \
curl apt-transport-https \
python python2.7 perl \
software-properties-common gnupg2 jq vim less
software-properties-common gnupg2 jq vim less

#
# Sync Java (Azul Zulu) repository
#

apt-key add - <<'EOT'
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.1.6
Comment: Hostname: keyserver.ubuntu.com
# add Azul's public key
apt-key adv \
--keyserver hkp://keyserver.ubuntu.com:80 \
--recv-keys 0xB1998361219BD9C9

mQINBFNgFa8BEADTL/REB10M+TfiZOtFHqL5LHKkzTMn/O2r5iIqXGhi6iwZazFs9S5g1eU7
WMen5Xp9AREs+OvaHx91onPZ7ZiP7VpZ6ZdwWrnVk1Y/HfI59tWxmNYWDmKYBGMj4EUpFPSE
9EnFj7dm1WdlCvpognCwZQl9D3BseGqN7OLHfwqqmOl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yV/okCIle66uHZse+7gNyNmWpf01hM+VmAySIAyKa0Ku8AXZMydEcJTebrNfW9uM
LsBx3Ts7z/CBfRng6F8louJGlZtlSwddTkZVcb26T20xeo0aZvdFXM2djTi/a5nbBoZQL85A
EeV7HaphFLdPrgmMtS8sSZUEVvdaxp7WJsVuF9cONxsvx40OYTvfco0W41Lm8/sEuQ7YueEV
pZxiv5kX56GTU9vXaOOi+8Z7Ee2w6Adz4hrGZkzztggs4tM9geNYnd0XCdZ/ICAskKJABg7b
iDD1PhEBrqCIqSE3U497vibQMpkkl/Zpp0BirhGWNyTg8K4JrsQ=
=d320
-----END PGP PUBLIC KEY BLOCK-----
EOT
# download and install the package that adds
# the Azul APT repository to the list of sources
curl -O https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb

echo "deb http://repos.azulsystems.com/debian stable main" > /etc/apt/sources.list.d/zulu.list

#
# Java
#
# install the package
apt-get install ./zulu-repo_1.0.0-3_all.deb

# update the package sources
apt-get update
apt-get -y install zulu-8

apt-get -y install zulu8-jdk


#
# Housekeeping
Expand Down