Skip to content

Commit

Permalink
Update alpine to 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Jan 15, 2021
1 parent a2e7718 commit ba05026
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/examples/customization/sysctl/patch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"spec": {
"initContainers": [{
"name": "sysctl",
"image": "alpine:3.10",
"image": "alpine:3.13",
"securityContext": {
"privileged": true
},
Expand Down
2 changes: 1 addition & 1 deletion images/cfssl/rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion images/httpbin/rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 5 additions & 3 deletions images/nginx/rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 0 additions & 3 deletions images/nginx/rootfs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ get_src()
rm -rf "$f"
}

apk update
apk upgrade

# install required packages to build
apk add \
bash \
Expand Down

0 comments on commit ba05026

Please sign in to comment.