docker-baseimage-cloud9/Dockerfile.armhf

36 wiersze
762 B
Docker

FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-bionic
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"
ARG NPM_CONFIG_UNSAFE_PERM=true
RUN \
echo "**** install build packages ****" && \
apt-get update && \
apt-get install -y \
g++ \
gcc \
git \
make \
python && \
echo "**** Compile Cloud9 from source ****" && \
git clone --depth 1 \
https://github.com/c9/core.git c9sdk && \
cd c9sdk && \
mkdir -p /c9bins && \
HOME=/c9bins scripts/install-sdk.sh && \
echo "**** Restructure files for copy ****" && \
mkdir -p \
/buildout && \
rm -Rf \
/c9bins/.c9/tmp && \
mv \
/c9bins \
/buildout/c9bins && \
mv \
/c9sdk \
/buildout/