Skip to content

Commit

Permalink
Upgrade base images to latest stable versions
Browse files Browse the repository at this point in the history
It upgrades all alpine based images to version 3.15.
It also upgrades upf base image to debian bullseye release.
Also adds base env variable DEBIAN_FRONTEND.
  • Loading branch information
abousselmi committed Dec 11, 2021
1 parent 884c60f commit 0d876de
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 11 deletions.
4 changes: 3 additions & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM golang:1.14.4-stretch AS builder

LABEL maintainer="Free5GC <support@free5gc.org>"

ENV DEBIAN_FRONTEND noninteractive

# Install dependencies
RUN apt-get update \
&& apt-get -y install gcc cmake autoconf libtool pkg-config libmnl-dev libyaml-dev apt-transport-https ca-certificates \
Expand All @@ -23,7 +25,7 @@ RUN cd $GOPATH/src/free5gc \
&& make all

# Alpine is used for debug purpose. You can use scratch for a smaller footprint.
FROM alpine
FROM alpine:3.15

WORKDIR /free5gc
RUN mkdir -p config/ support/TLS/ public
Expand Down
2 changes: 1 addition & 1 deletion nf_amf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM free5gc/base:latest AS builder
FROM alpine:3.13
FROM alpine:3.15

LABEL description="Free5GC open source 5G Core Network" \
version="Stage 3"
Expand Down
2 changes: 1 addition & 1 deletion nf_ausf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM free5gc/base:latest AS builder
FROM alpine:3.13
FROM alpine:3.15

LABEL description="Free5GC open source 5G Core Network" \
version="Stage 3"
Expand Down
2 changes: 1 addition & 1 deletion nf_n3iwf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM free5gc/base:latest AS builder
FROM alpine:3.13
FROM alpine:3.15

LABEL description="Free5GC open source 5G Core Network" \
version="Stage 3"
Expand Down
2 changes: 1 addition & 1 deletion nf_nrf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM free5gc/base:latest AS builder
FROM alpine:3.13
FROM alpine:3.15

LABEL description="Free5GC open source 5G Core Network" \
version="Stage 3"
Expand Down
2 changes: 1 addition & 1 deletion nf_nssf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM free5gc/base:latest AS builder
FROM alpine:3.13
FROM alpine:3.15

LABEL description="Free5GC open source 5G Core Network" \
version="Stage 3"
Expand Down
2 changes: 1 addition & 1 deletion nf_pcf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM free5gc/base:latest AS builder
FROM alpine:3.13
FROM alpine:3.15

LABEL description="Free5GC open source 5G Core Network" \
version="Stage 3"
Expand Down
2 changes: 1 addition & 1 deletion nf_smf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM free5gc/base:latest AS builder
FROM alpine:3.13
FROM alpine:3.15

LABEL description="Free5GC open source 5G Core Network" \
version="Stage 3"
Expand Down
2 changes: 1 addition & 1 deletion nf_udm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM free5gc/base:latest AS builder
FROM alpine:3.13
FROM alpine:3.15

LABEL description="Free5GC open source 5G Core Network" \
version="Stage 3"
Expand Down
2 changes: 1 addition & 1 deletion nf_udr/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM free5gc/base:latest AS builder
FROM alpine:3.13
FROM alpine:3.15

LABEL description="Free5GC open source 5G Core Network" \
version="Stage 3"
Expand Down
2 changes: 1 addition & 1 deletion nf_upf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM free5gc/base:latest AS builder
FROM bitnami/minideb:stretch
FROM bitnami/minideb:bullseye

LABEL description="Free5GC open source 5G Core Network" \
version="Stage 3"
Expand Down

0 comments on commit 0d876de

Please sign in to comment.