diff --git a/Dockerfile b/Dockerfile index 321ff72..9108dea 100644 --- a/Dockerfile +++ b/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 diff --git a/repositories b/repositories new file mode 100644 index 0000000..8c72039 --- /dev/null +++ b/repositories @@ -0,0 +1,2 @@ +http://dl-cdn.alpinelinux.org/alpine/v3.2/main @community http://dl-cdn.alpinelinux.org/alpine/edge/community + diff --git a/setup.sh b/setup.sh index 7335329..16ab276 100755 --- a/setup.sh +++ b/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 \