docker-baseimage-cloud9/Dockerfile

35 wiersze
596 B
Docker
Czysty Zwykły widok Historia

2019-06-21 17:52:50 +00:00
FROM lsiobase/cloud9:files-alpine as builder
2020-03-19 18:02:49 +00:00
FROM lsiobase/alpine:3.11
2019-05-26 23:10:27 +00:00
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"
2019-05-26 23:17:53 +00:00
# add files from c9base
2019-05-26 23:10:27 +00:00
COPY --from=builder /buildout/ /
RUN \
echo "**** install base packages ****" && \
2019-06-21 17:52:50 +00:00
apk add --no-cache \
c-ares \
2019-05-26 23:10:27 +00:00
curl \
git \
gnupg \
2019-06-21 17:52:50 +00:00
http-parser \
libevent \
libevent \
libstdc++ \
libuv \
2019-05-26 23:10:27 +00:00
sudo && \
2019-06-21 17:52:50 +00:00
echo "**** user perms ****" && \
usermod -aG wheel \
abc
2019-05-26 23:10:27 +00:00
# add local files
COPY root/ /
# ports and volumes
EXPOSE 8000