Update alpine to 3.13
This commit is contained in:
parent
a2e77185cc
commit
ba05026037
5 changed files with 8 additions and 9 deletions
|
@ -4,7 +4,7 @@
|
||||||
"spec": {
|
"spec": {
|
||||||
"initContainers": [{
|
"initContainers": [{
|
||||||
"name": "sysctl",
|
"name": "sysctl",
|
||||||
"image": "alpine:3.10",
|
"image": "alpine:3.13",
|
||||||
"securityContext": {
|
"securityContext": {
|
||||||
"privileged": true
|
"privileged": true
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# 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 echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM alpine:3.12
|
FROM alpine:3.13
|
||||||
|
|
||||||
ENV LC_ALL=C.UTF-8
|
ENV LC_ALL=C.UTF-8
|
||||||
ENV LANG=C.UTF-8
|
ENV LANG=C.UTF-8
|
||||||
|
|
|
@ -13,15 +13,17 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.12 as builder
|
FROM alpine:3.13 as builder
|
||||||
|
|
||||||
COPY . /
|
COPY . /
|
||||||
|
|
||||||
RUN apk add -U bash \
|
RUN apk update \
|
||||||
|
&& apk upgrade \
|
||||||
|
&& apk add -U bash \
|
||||||
&& /build.sh
|
&& /build.sh
|
||||||
|
|
||||||
# Use a multi-stage build
|
# 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
|
ENV PATH=$PATH:/usr/local/luajit/bin:/usr/local/nginx/sbin:/usr/local/nginx/bin
|
||||||
|
|
||||||
|
|
|
@ -75,9 +75,6 @@ get_src()
|
||||||
rm -rf "$f"
|
rm -rf "$f"
|
||||||
}
|
}
|
||||||
|
|
||||||
apk update
|
|
||||||
apk upgrade
|
|
||||||
|
|
||||||
# install required packages to build
|
# install required packages to build
|
||||||
apk add \
|
apk add \
|
||||||
bash \
|
bash \
|
||||||
|
|
Loading…
Reference in a new issue