diff options
author | Benjamin Copeland <ben.copeland@linaro.org> | 2018-10-17 12:35:14 +0100 |
---|---|---|
committer | Benjamin Copeland <ben.copeland@linaro.org> | 2018-10-17 12:36:51 +0100 |
commit | bb889f62b38fb00cde5531cc3da6b02cdb64e193 (patch) | |
tree | aa3f8978d749641d524516458812378827e7939e | |
parent | 7d3a92308f0d99e1356bc97a1d1c5e546b069b99 (diff) |
LLP: Update apk settings
We are getting "WARNING: Ignoring APKINDEX" upon build time, this is due
to apk not updating properly. Lets fix that and fix the apk spacing
Change-Id: Iab498f8dc01cb98150f83874ec2933427a6eb186
-rw-r--r-- | ci-amd64-llp-alpine/Dockerfile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ci-amd64-llp-alpine/Dockerfile b/ci-amd64-llp-alpine/Dockerfile index ee804cdf..0a5e28af 100644 --- a/ci-amd64-llp-alpine/Dockerfile +++ b/ci-amd64-llp-alpine/Dockerfile @@ -12,12 +12,13 @@ RUN mkdir -p $APPDIR WORKDIR $APPDIR -RUN apk --update --no-cache add python2 py2-pip mysql-client git py-gunicorn sqlite && \ - apk --no-cache add gcc g++ python2-dev musl-dev libffi-dev postgresql-dev && \ - git clone https://git.linaro.org/infrastructure/linaro-license-protection.git/ $APPDIR && \ - pip2 install --upgrade pip setuptools six && \ - pip2 install -U -r $APPDIR/requirements.txt && \ - apk del gcc g++ python3-dev musl-dev libffi-dev +RUN apk update && \ + apk --no-cache add python2 py2-pip mysql-client git py-gunicorn sqlite && \ + apk --no-cache add gcc g++ python2-dev musl-dev libffi-dev postgresql-dev && \ + git clone https://git.linaro.org/infrastructure/linaro-license-protection.git/ $APPDIR && \ + pip2 install --upgrade pip setuptools six && \ + pip2 install -U -r $APPDIR/requirements.txt && \ + apk del gcc g++ python3-dev musl-dev libffi-dev EXPOSE $PORT |