Skip to content

Commit

Permalink
v2.8.1 (#136)
Browse files Browse the repository at this point in the history
Minor updates
* Updating to Alpine 3.18.11, 3.19.6, 3.20.5 and 3.21.2
* Updating to Nushell 0.101.0

Documentation updates
* Updating copyright year to 2025
* Updating Alpine versions in README
  • Loading branch information
bfren authored Jan 24, 2025
1 parent 9382623 commit 4a128d5
Show file tree
Hide file tree
Showing 16 changed files with 50 additions and 48 deletions.
6 changes: 3 additions & 3 deletions 3.15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN \
echo "Platform: ${TARGETPLATFORM}" >> /log && \
echo "Alpine: 3.15.11" >> /log && \
echo "Busybox: 1.36.1" >> /log && \
echo "Nushell: 0.100.0" >> /log
echo "Nushell: 0.101.0" >> /log


#======================================================================================================================
Expand All @@ -24,7 +24,7 @@ FROM ghcr.io/bfren/busybox:1.36.1-alpine3.15.11-240913 AS busybox
# STAGE 2: load Nushell
#======================================================================================================================

FROM ghcr.io/bfren/nushell:0.100.0-alpine-241018 AS nushell
FROM ghcr.io/bfren/nushell:0.101.0-alpine-250124 AS nushell


#======================================================================================================================
Expand Down Expand Up @@ -53,7 +53,7 @@ ENV \
# 1: yes
BF_UPGRADE_PACKAGES=0 \
# Nushell version string to check against installed verion after installation
NU_VERSION=0.100.0
NU_VERSION=0.101.0

RUN \
# add packages required by Nushell
Expand Down
6 changes: 3 additions & 3 deletions 3.16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN \
echo "Platform: ${TARGETPLATFORM}" >> /log && \
echo "Alpine: 3.16.9" >> /log && \
echo "Busybox: 1.36.1" >> /log && \
echo "Nushell: 0.100.0" >> /log
echo "Nushell: 0.101.0" >> /log


#======================================================================================================================
Expand All @@ -24,7 +24,7 @@ FROM ghcr.io/bfren/busybox:1.36.1-alpine3.16.9-240913 AS busybox
# STAGE 2: load Nushell
#======================================================================================================================

FROM ghcr.io/bfren/nushell:0.100.0-alpine-241018 AS nushell
FROM ghcr.io/bfren/nushell:0.101.0-alpine-250124 AS nushell


#======================================================================================================================
Expand Down Expand Up @@ -53,7 +53,7 @@ ENV \
# 1: yes
BF_UPGRADE_PACKAGES=0 \
# Nushell version string to check against installed verion after installation
NU_VERSION=0.100.0
NU_VERSION=0.101.0

RUN \
# add packages required by Nushell
Expand Down
6 changes: 3 additions & 3 deletions 3.17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN \
echo "Platform: ${TARGETPLATFORM}" >> /log && \
echo "Alpine: 3.17.10" >> /log && \
echo "Busybox: 1.36.1" >> /log && \
echo "Nushell: 0.100.0" >> /log
echo "Nushell: 0.101.0" >> /log


#======================================================================================================================
Expand All @@ -24,7 +24,7 @@ FROM ghcr.io/bfren/busybox:1.36.1-alpine3.17.10-240913 AS busybox
# STAGE 2: load Nushell
#======================================================================================================================

FROM ghcr.io/bfren/nushell:0.100.0-alpine-241018 AS nushell
FROM ghcr.io/bfren/nushell:0.101.0-alpine-250124 AS nushell


#======================================================================================================================
Expand Down Expand Up @@ -53,7 +53,7 @@ ENV \
# 1: yes
BF_UPGRADE_PACKAGES=0 \
# Nushell version string to check against installed verion after installation
NU_VERSION=0.100.0
NU_VERSION=0.101.0

RUN \
# add packages required by Nushell
Expand Down
2 changes: 1 addition & 1 deletion 3.18/ALPINE_REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.18.9
3.18.11
12 changes: 6 additions & 6 deletions 3.18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,30 @@ ARG TARGETPLATFORM
RUN \
# save platform and version information to log
echo "Platform: ${TARGETPLATFORM}" >> /log && \
echo "Alpine: 3.18.9" >> /log && \
echo "Alpine: 3.18.11" >> /log && \
echo "Busybox: 1.36.1" >> /log && \
echo "Nushell: 0.100.0" >> /log
echo "Nushell: 0.101.0" >> /log


#======================================================================================================================
# STAGE 1: load busybox
#======================================================================================================================

FROM ghcr.io/bfren/busybox:1.36.1-alpine3.18.9-240913 AS busybox
FROM ghcr.io/bfren/busybox:1.36.1-alpine3.18.11-240913 AS busybox


#======================================================================================================================
# STAGE 2: load Nushell
#======================================================================================================================

FROM ghcr.io/bfren/nushell:0.100.0-alpine-241018 AS nushell
FROM ghcr.io/bfren/nushell:0.101.0-alpine-250124 AS nushell


#======================================================================================================================
# STAGE 3: install bfren platform
#======================================================================================================================

FROM alpine:3.18.9 AS install
FROM alpine:3.18.11 AS install
COPY --from=build /log /etc/bf/BUILD
COPY --from=busybox / /bin
COPY --from=nushell / /
Expand All @@ -53,7 +53,7 @@ ENV \
# 1: yes
BF_UPGRADE_PACKAGES=0 \
# Nushell version string to check against installed verion after installation
NU_VERSION=0.100.0
NU_VERSION=0.101.0

RUN \
# add packages required by Nushell
Expand Down
2 changes: 1 addition & 1 deletion 3.19/ALPINE_REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.19.4
3.19.6
12 changes: 6 additions & 6 deletions 3.19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,30 @@ ARG TARGETPLATFORM
RUN \
# save platform and version information to log
echo "Platform: ${TARGETPLATFORM}" >> /log && \
echo "Alpine: 3.19.4" >> /log && \
echo "Alpine: 3.19.6" >> /log && \
echo "Busybox: 1.36.1" >> /log && \
echo "Nushell: 0.100.0" >> /log
echo "Nushell: 0.101.0" >> /log


#======================================================================================================================
# STAGE 1: load busybox
#======================================================================================================================

FROM ghcr.io/bfren/busybox:1.36.1-alpine3.19.4-240913 AS busybox
FROM ghcr.io/bfren/busybox:1.36.1-alpine3.19.6-240913 AS busybox


#======================================================================================================================
# STAGE 2: load Nushell
#======================================================================================================================

FROM ghcr.io/bfren/nushell:0.100.0-alpine-241018 AS nushell
FROM ghcr.io/bfren/nushell:0.101.0-alpine-250124 AS nushell


#======================================================================================================================
# STAGE 3: install bfren platform
#======================================================================================================================

FROM alpine:3.19.4 AS install
FROM alpine:3.19.6 AS install
COPY --from=build /log /etc/bf/BUILD
COPY --from=busybox / /bin
COPY --from=nushell / /
Expand All @@ -53,7 +53,7 @@ ENV \
# 1: yes
BF_UPGRADE_PACKAGES=0 \
# Nushell version string to check against installed verion after installation
NU_VERSION=0.100.0
NU_VERSION=0.101.0

RUN \
# add packages required by Nushell
Expand Down
2 changes: 1 addition & 1 deletion 3.20/ALPINE_REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.20.3
3.20.5
12 changes: 6 additions & 6 deletions 3.20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,30 @@ ARG TARGETPLATFORM
RUN \
# save platform and version information to log
echo "Platform: ${TARGETPLATFORM}" >> /log && \
echo "Alpine: 3.20.3" >> /log && \
echo "Alpine: 3.20.5" >> /log && \
echo "Busybox: 1.36.1" >> /log && \
echo "Nushell: 0.100.0" >> /log
echo "Nushell: 0.101.0" >> /log


#======================================================================================================================
# STAGE 1: load busybox
#======================================================================================================================

FROM ghcr.io/bfren/busybox:1.36.1-alpine3.20.3-240913 AS busybox
FROM ghcr.io/bfren/busybox:1.36.1-alpine3.20.5-240913 AS busybox


#======================================================================================================================
# STAGE 2: load Nushell
#======================================================================================================================

FROM ghcr.io/bfren/nushell:0.100.0-alpine-241018 AS nushell
FROM ghcr.io/bfren/nushell:0.101.0-alpine-250124 AS nushell


#======================================================================================================================
# STAGE 3: install bfren platform
#======================================================================================================================

FROM alpine:3.20.3 AS install
FROM alpine:3.20.5 AS install
COPY --from=build /log /etc/bf/BUILD
COPY --from=busybox / /bin
COPY --from=nushell / /
Expand All @@ -53,7 +53,7 @@ ENV \
# 1: yes
BF_UPGRADE_PACKAGES=0 \
# Nushell version string to check against installed verion after installation
NU_VERSION=0.100.0
NU_VERSION=0.101.0

RUN \
# add packages required by Nushell
Expand Down
2 changes: 1 addition & 1 deletion 3.21/ALPINE_REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.21.0
3.21.2
12 changes: 6 additions & 6 deletions 3.21/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,30 @@ ARG TARGETPLATFORM
RUN \
# save platform and version information to log
echo "Platform: ${TARGETPLATFORM}" >> /log && \
echo "Alpine: 3.21.0" >> /log && \
echo "Alpine: 3.21.2" >> /log && \
echo "Busybox: 1.36.1" >> /log && \
echo "Nushell: 0.100.0" >> /log
echo "Nushell: 0.101.0" >> /log


#======================================================================================================================
# STAGE 1: load busybox
#======================================================================================================================

FROM ghcr.io/bfren/busybox:1.36.1-alpine3.21.0-240913 AS busybox
FROM ghcr.io/bfren/busybox:1.36.1-alpine3.21.2-240913 AS busybox


#======================================================================================================================
# STAGE 2: load Nushell
#======================================================================================================================

FROM ghcr.io/bfren/nushell:0.100.0-alpine-241018 AS nushell
FROM ghcr.io/bfren/nushell:0.101.0-alpine-250124 AS nushell


#======================================================================================================================
# STAGE 3: install bfren platform
#======================================================================================================================

FROM alpine:3.21.0 AS install
FROM alpine:3.21.2 AS install
COPY --from=build /log /etc/bf/BUILD
COPY --from=busybox / /bin
COPY --from=nushell / /
Expand All @@ -53,7 +53,7 @@ ENV \
# 1: yes
BF_UPGRADE_PACKAGES=0 \
# Nushell version string to check against installed verion after installation
NU_VERSION=0.100.0
NU_VERSION=0.101.0

RUN \
# add packages required by Nushell
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT Licence

Copyright (c) 2021-2024 bfren
Copyright (c) 2021-2025 bfren

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

You can pin by Alpine version:

- **alpine3.21, alpine3.21.x** (EOL: 2026-11-01)
- **alpine3.20, alpine3.20.x** (EOL: 2026-04-01)
- **alpine3.19, alpine3.19.x** (EOL: 2025-12-01)
- **alpine3.18, alpine3.18.x** (EOL: 2025-05-09)
- **alpine3.17, alpine3.17.x** (EOL: 2024-11-22)
Expand All @@ -18,15 +20,15 @@ You can pin by Alpine version:

Or if you want a specific base image build you can add a version suffix, e.g.:

- alpine3.18-2.0
- alpine3.17-2.0.5
- alpine3.21-2.8
- alpine3.20-2.7.8

These pin to v2.0.x of my Alpine 3.18 image and v2.0.5 of my Alpine 3.17 image respectively.
These pin to v2.8.x of my Alpine 3.21 image and v2.7.8 of my Alpine 3.20 image respectively.

## Licence

> [MIT](https://mit.bfren.dev/2021)
## Copyright

> Copyright (c) 2021-2024 [bfren](https://bfren.dev) (unless otherwise stated)
> Copyright (c) 2021-2025 [bfren](https://bfren.dev) (unless otherwise stated)
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.8.0
2.8.1
4 changes: 2 additions & 2 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ docker pull bfren/alpine

BUSYBOX_VERSION="1.36.1"
BUSYBOX_BUILD="240913"
NU_VERSION="0.100.0"
NU_BUILD="241018"
NU_VERSION="0.101.0"
NU_BUILD="250124"
ALPINE_EDITIONS="3.15 3.16 3.17 3.18 3.19 3.20 3.21"

for E in ${ALPINE_EDITIONS} ; do
Expand Down
6 changes: 3 additions & 3 deletions overlay/tmp/env-load.nu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# load environment when entering shell
$env.config = ($env.config | upsert hooks {
pre_prompt: { ^bf-withenv env | lines | parse "{key}={val}" | transpose -i -r -d | load-env $in }
})
$env.config.hooks.pre_prompt ++= [
{ ^bf-withenv env | lines | parse "{key}={val}" | transpose -i -r -d | load-env $in }
]

0 comments on commit 4a128d5

Please sign in to comment.