Browse Source

add setup.sh

master
zeus 3 years ago
parent
commit
88b73bddd7
  1. 6
      Dockerfile
  2. 2
      repositories
  3. 3
      setup.sh

6
Dockerfile

@ -19,8 +19,14 @@ RUN addgroup -S node \
COPY \
setup.sh \
extrapackages \
repositories \
/root/
# -------- next line is in setup.sh ------
# ----------edit if not alpine ----------
# copy repositories /etc/apk/repositories
# --------------------------------------
RUN /root/setup.sh

2
repositories

@ -0,0 +1,2 @@
http://dl-cdn.alpinelinux.org/alpine/v3.2/main @community http://dl-cdn.alpinelinux.org/alpine/edge/community

3
setup.sh

@ -24,6 +24,9 @@ retry() {
done
}
# alpine edit 4 ubuntu
cp /root/repositories /etc/apk/repositories
echo "==> Install system packages"
apk --no-cache add \
bash \

Loading…
Cancel
Save