Skip to content

Commit

Permalink
ADD: Add Dockerfile for k8 0.2.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdren committed Sep 3, 2018
1 parent 1fa32af commit 5706cf8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions k8/0.2.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Set the base image to Ubuntu 18.04
FROM ubuntu:18.04

# File Author / Maintainer
MAINTAINER Laurent Jourdren <[email protected]>

ARG VERSION=0.2.4
ARG BUILD_PACKAGES="wget apt-transport-https"
ARG DEBIAN_FRONTEND=noninteractive

# Install Albacore and its dependencies
RUN apt update && \
apt install --yes $BUILD_PACKAGES && \
apt install --yes libv8-dev && \
cd /tmp && \
wget https://github.com/attractivechaos/k8/releases/download/v$VERSION/k8-$VERSION.tar.bz2 && \
tar -jxf k8-$VERSION.tar.bz2 && \
cp k8-0.2.4/k8-`uname -s` /usr/local/bin/k8 && \
apt remove --purge --yes \
$BUILD_PACKAGES && \
apt autoremove --purge --yes && \
apt clean && \
rm -rf /var/lib/apt/lists/* /tmp/*

0 comments on commit 5706cf8

Please sign in to comment.