Commit c0f6b149 authored by Ramon Nou's avatar Ramon Nou
Browse files

kreon deps

parent 8e8f3861
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ check format:
################################################################################
gkfs:
  stage: build
  image: gekkofs/deps:0.8.0
  image: gekkofs/deps:0.8.0b
  interruptible: true
  needs: []
  script:
@@ -67,7 +67,7 @@ gkfs:

gkfwd:
  stage: build
  image: gekkofs/deps:0.8.0
  image: gekkofs/deps:0.8.0b
  interruptible: true
  needs: []
  script:

docker/0.8.0/deps/Dockerfile

deleted100644 → 0
+0 −35
Original line number Diff line number Diff line
FROM gekkofs/core:0.8.0

LABEL Description="Debian-based environment to build GekkoFS"

ENV GKFS_PATH	/opt/gkfs
ENV GKFS_VERSION 0.8.0

ENV SCRIPTS_PATH	${GKFS_PATH}/scripts
ENV DEPS_SRC_PATH	${GKFS_PATH}/deps_src
ENV INSTALL_PATH	/usr/local

COPY scripts/dl_dep.sh		${SCRIPTS_PATH}/
COPY scripts/compile_dep.sh ${SCRIPTS_PATH}/
COPY scripts/patches        ${SCRIPTS_PATH}/patches
COPY scripts/profiles       ${SCRIPTS_PATH}/profiles

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
		python3 \
		python3-pip \
		python3-dev \
		python3-venv \
		python3-setuptools && \
    python3 -m pip install --upgrade pip && \
    rm -rf /var/lib/apt/lists/* && \
    apt-get clean && apt-get autoclean
 
# Download and build dependencies
RUN cd ${SCRIPTS_PATH} && \
    /bin/bash ./dl_dep.sh -p ci:${GKFS_VERSION} ${DEPS_SRC_PATH} && \
    /bin/bash ./compile_dep.sh -j 8 -p ci:${GKFS_VERSION} ${DEPS_SRC_PATH} ${INSTALL_PATH} && \
    rm -rf ${DEPS_SRC_PATH} && \
    rm -rf ${SCRIPTS_PATH} && \
    rmdir ${GKFS_PATH} && \
    ldconfig

docker/0.8.0/deps/Makefile

deleted100644 → 0
+0 −17
Original line number Diff line number Diff line
CWD:=$(shell pwd)
GIT_ROOT:=$(shell git rev-parse --show-toplevel)

.PHONY: all build mount-scripts umount-scripts

all: build mount-scripts umount-scripts

mount-scripts:
	mkdir -p $(CWD)/scripts
	mount --bind $(GIT_ROOT)/scripts $(CWD)/scripts

build: mount-scripts
	docker build -t gekkofs/deps:0.8.0 .

umount-scripts:
	- umount $(CWD)/scripts
	- rmdir $(CWD)/scripts
Loading