Update alpine to 3.13

This commit is contained in:
Manuel Alejandro de Brito Fontes 2021-01-14 23:50:51 -03:00
parent a2e77185cc
commit ba05026037
5 changed files with 8 additions and 9 deletions

View file

@ -4,7 +4,7 @@
"spec": {
"initContainers": [{
"name": "sysctl",
"image": "alpine:3.10",
"image": "alpine:3.13",
"securityContext": {
"privileged": true
},

View file

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM alpine:3.12
FROM alpine:3.13
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
RUN apk add --no-cache \

View file

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM alpine:3.12
FROM alpine:3.13
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8

View file

@ -13,15 +13,17 @@
# limitations under the License.
FROM alpine:3.12 as builder
FROM alpine:3.13 as builder
COPY . /
RUN apk add -U bash \
RUN apk update \
&& apk upgrade \
&& apk add -U bash \
&& /build.sh
# Use a multi-stage build
FROM alpine:3.12
FROM alpine:3.13
ENV PATH=$PATH:/usr/local/luajit/bin:/usr/local/nginx/sbin:/usr/local/nginx/bin

View file

@ -75,9 +75,6 @@ get_src()
rm -rf "$f"
}
apk update
apk upgrade
# install required packages to build
apk add \
bash \