Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Commit

Permalink
adding base files version for alpine containers
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Jun 21, 2019
1 parent 3ed5bbf commit 9ba61d3
Show file tree
Hide file tree
Showing 7 changed files with 478 additions and 368 deletions.
25 changes: 20 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM lsiobase/ubuntu:bionic
FROM lsiobase/alpine:3.9

# set version label
ARG BUILD_DATE
Expand All @@ -7,21 +7,36 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thelamer"
ARG NPM_CONFIG_UNSAFE_PERM=true

# add local files
COPY /root /

RUN \
echo "**** install build packages ****" && \
apt-get update && \
apt-get install -y \
apk add --no-cache \
g++ \
gcc \
git \
libgcc \
libxml2-dev \
make \
python && \
nodejs \
openssl-dev \
python \
tmux
RUN \
echo "**** Compile Cloud9 from source ****" && \
git clone --depth 1 \
https://github.com/c9/core.git c9sdk && \
cd c9sdk && \
sed -i \
's/node-pty-prebuilt/node-pty/g' \
plugins/node_modules/vfs-local/localfs.js && \
mkdir -p /c9bins && \
HOME=/c9bins scripts/install-sdk.sh && \
sed -i \
'/$URL/c\bash /install.sh' \
scripts/install-sdk.sh && \
HOME=/c9bins scripts/install-sdk.sh
RUN \
echo "**** Restructure files for copy ****" && \
mkdir -p \
/buildout && \
Expand Down
25 changes: 20 additions & 5 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM lsiobase/ubuntu:arm64v8-bionic
FROM lsiobase/alpine:arm64v8-3.9

# set version label
ARG BUILD_DATE
Expand All @@ -7,21 +7,36 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thelamer"
ARG NPM_CONFIG_UNSAFE_PERM=true

# add local files
COPY /root /

RUN \
echo "**** install build packages ****" && \
apt-get update && \
apt-get install -y \
apk add --no-cache \
g++ \
gcc \
git \
libgcc \
libxml2-dev \
make \
python && \
nodejs \
openssl-dev \
python \
tmux
RUN \
echo "**** Compile Cloud9 from source ****" && \
git clone --depth 1 \
https://github.com/c9/core.git c9sdk && \
cd c9sdk && \
sed -i \
's/node-pty-prebuilt/node-pty/g' \
plugins/node_modules/vfs-local/localfs.js && \
mkdir -p /c9bins && \
HOME=/c9bins scripts/install-sdk.sh && \
sed -i \
'/$URL/c\bash /install.sh' \
scripts/install-sdk.sh && \
HOME=/c9bins scripts/install-sdk.sh
RUN \
echo "**** Restructure files for copy ****" && \
mkdir -p \
/buildout && \
Expand Down
25 changes: 20 additions & 5 deletions Dockerfile.armhf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM lsiobase/ubuntu:arm32v7-bionic
FROM lsiobase/alpine:arm32v7-3.9

# set version label
ARG BUILD_DATE
Expand All @@ -7,21 +7,36 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thelamer"
ARG NPM_CONFIG_UNSAFE_PERM=true

# add local files
COPY /root /

RUN \
echo "**** install build packages ****" && \
apt-get update && \
apt-get install -y \
apk add --no-cache \
g++ \
gcc \
git \
libgcc \
libxml2-dev \
make \
python && \
nodejs \
openssl-dev \
python \
tmux
RUN \
echo "**** Compile Cloud9 from source ****" && \
git clone --depth 1 \
https://github.com/c9/core.git c9sdk && \
cd c9sdk && \
sed -i \
's/node-pty-prebuilt/node-pty/g' \
plugins/node_modules/vfs-local/localfs.js && \
mkdir -p /c9bins && \
HOME=/c9bins scripts/install-sdk.sh && \
sed -i \
'/$URL/c\bash /install.sh' \
scripts/install-sdk.sh && \
HOME=/c9bins scripts/install-sdk.sh
RUN \
echo "**** Restructure files for copy ****" && \
mkdir -p \
/buildout && \
Expand Down
Loading

0 comments on commit 9ba61d3

Please sign in to comment.