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

Commit 8f8ee89

Browse files
authored
Merge pull request #1 from linuxserver/initial
Initial Version
2 parents b6554b1 + 4186019 commit 8f8ee89

File tree

6 files changed

+1339
-115
lines changed

6 files changed

+1339
-115
lines changed

Dockerfile

Lines changed: 2 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,4 @@
1-
FROM lsiobase/ubuntu:bionic as builder
2-
3-
ARG DEBIAN_FRONTEND="noninteractive"
4-
ARG NPM_CONFIG_UNSAFE_PERM=true
5-
6-
RUN \
7-
echo "**** install build packages ****" && \
8-
apt-get update && \
9-
apt-get install -y \
10-
g++ \
11-
gcc \
12-
git \
13-
make \
14-
python && \
15-
echo "**** Compile Cloud9 from source ****" && \
16-
git clone --depth 1 \
17-
https://github.com/c9/core.git c9sdk && \
18-
cd c9sdk && \
19-
mkdir -p /c9bins && \
20-
HOME=/c9bins scripts/install-sdk.sh && \
21-
echo "**** Restructure files for copy ****" && \
22-
mkdir -p \
23-
/buildout && \
24-
rm -Rf \
25-
/c9bins/.c9/tmp && \
26-
mv \
27-
/c9bins \
28-
/buildout/c9bins && \
29-
mv \
30-
/c9sdk \
31-
/buildout/
32-
33-
# runtime stage
1+
FROM lsiobase/cloud9:files as builder
342
FROM lsiobase/ubuntu:bionic
353

364
# set version label
@@ -39,10 +7,7 @@ ARG VERSION
397
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
408
LABEL maintainer="thelamer"
419

42-
# Env
43-
ARG DEBIAN_FRONTEND="noninteractive"
44-
45-
# add local files and files from c9base
10+
# add files from c9base
4611
COPY --from=builder /buildout/ /
4712

4813
RUN \

Dockerfile.aarch64

Lines changed: 2 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,4 @@
1-
FROM lsiobase/ubuntu:arm64v8-bionic as builder
2-
3-
ARG DEBIAN_FRONTEND="noninteractive"
4-
ARG NPM_CONFIG_UNSAFE_PERM=true
5-
6-
RUN \
7-
echo "**** install build packages ****" && \
8-
apt-get update && \
9-
apt-get install -y \
10-
g++ \
11-
gcc \
12-
git \
13-
make \
14-
python && \
15-
echo "**** Compile Cloud9 from source ****" && \
16-
git clone --depth 1 \
17-
https://github.com/c9/core.git c9sdk && \
18-
cd c9sdk && \
19-
mkdir -p /c9bins && \
20-
HOME=/c9bins scripts/install-sdk.sh && \
21-
echo "**** Restructure files for copy ****" && \
22-
mkdir -p \
23-
/buildout && \
24-
rm -Rf \
25-
/c9bins/.c9/tmp && \
26-
mv \
27-
/c9bins \
28-
/buildout/c9bins && \
29-
mv \
30-
/c9sdk \
31-
/buildout/
32-
33-
# runtime stage
1+
FROM lsiobase/cloud9:arm64v8-files as builder
342
FROM lsiobase/ubuntu:arm64v8-bionic
353

364
# set version label
@@ -39,10 +7,7 @@ ARG VERSION
397
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
408
LABEL maintainer="thelamer"
419

42-
# Env
43-
ARG DEBIAN_FRONTEND="noninteractive"
44-
45-
# add local files and files from c9base
10+
# add files from c9base
4611
COPY --from=builder /buildout/ /
4712

4813
RUN \

Dockerfile.armhf

Lines changed: 2 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,4 @@
1-
FROM lsiobase/ubuntu:arm32v7-bionic as builder
2-
3-
ARG DEBIAN_FRONTEND="noninteractive"
4-
ARG NPM_CONFIG_UNSAFE_PERM=true
5-
6-
RUN \
7-
echo "**** install build packages ****" && \
8-
apt-get update && \
9-
apt-get install -y \
10-
g++ \
11-
gcc \
12-
git \
13-
make \
14-
python && \
15-
echo "**** Compile Cloud9 from source ****" && \
16-
git clone --depth 1 \
17-
https://github.com/c9/core.git c9sdk && \
18-
cd c9sdk && \
19-
mkdir -p /c9bins && \
20-
HOME=/c9bins scripts/install-sdk.sh && \
21-
echo "**** Restructure files for copy ****" && \
22-
mkdir -p \
23-
/buildout && \
24-
rm -Rf \
25-
/c9bins/.c9/tmp && \
26-
mv \
27-
/c9bins \
28-
/buildout/c9bins && \
29-
mv \
30-
/c9sdk \
31-
/buildout/
32-
33-
# runtime stage
1+
FROM lsiobase/cloud9:arm32v7-files as builder
342
FROM lsiobase/ubuntu:arm32v7-bionic
353

364
# set version label
@@ -39,10 +7,7 @@ ARG VERSION
397
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
408
LABEL maintainer="thelamer"
419

42-
# Env
43-
ARG DEBIAN_FRONTEND="noninteractive"
44-
45-
# add local files and files from c9base
10+
# add files from c9base
4611
COPY --from=builder /buildout/ /
4712

4813
RUN \

0 commit comments

Comments
 (0)