diff --git a/mainline/alpine-perl/Dockerfile b/mainline/alpine-perl/Dockerfile
index 0f5e43f8b18d3b761d6c2f916e8c433b31ec2d4c..f739e899bc9e1ba414243f74cd2773539e56c786 100644
--- a/mainline/alpine-perl/Dockerfile
+++ b/mainline/alpine-perl/Dockerfile
@@ -1,4 +1,4 @@
-FROM alpine:3.7
+FROM alpine:3.8
 
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
diff --git a/mainline/alpine/Dockerfile b/mainline/alpine/Dockerfile
index 41bf64ac0681213779641c9a0f44de9df1cd0842..42450325a231e2c0dbe7ce547bd375103774a02d 100644
--- a/mainline/alpine/Dockerfile
+++ b/mainline/alpine/Dockerfile
@@ -1,4 +1,4 @@
-FROM alpine:3.7
+FROM alpine:3.8
 
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
diff --git a/stable/alpine-perl/Dockerfile b/stable/alpine-perl/Dockerfile
index efa664e1daf953e78c7e152fe34873cce98ff251..647d989164c468c0306fee3849b4cb8cfe5ef504 100644
--- a/stable/alpine-perl/Dockerfile
+++ b/stable/alpine-perl/Dockerfile
@@ -1,4 +1,4 @@
-FROM alpine:3.7
+FROM alpine:3.8
 
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
diff --git a/stable/alpine/Dockerfile b/stable/alpine/Dockerfile
index 9dc45b6decbfbc604171a47d857d9e2d4a01ede3..579707f2ba6dcf0d636bfcf80ff112717bc4e77f 100644
--- a/stable/alpine/Dockerfile
+++ b/stable/alpine/Dockerfile
@@ -1,4 +1,4 @@
-FROM alpine:3.7
+FROM alpine:3.8
 
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"