-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/* | ||
|