Skip to content

Commit

Permalink
v1.1.1 (#5)
Browse files Browse the repository at this point in the history
Minor updates
* Removing .empty files in bf-clear

Build updates
* Making Dockerfiles consistent
  • Loading branch information
bfren authored Aug 29, 2022
1 parent b24bb45 commit 96bac60
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 19 deletions.
2 changes: 1 addition & 1 deletion 10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apt update && apt install --no-install-recommends -y build-essential git &&
make defconfig && make

FROM debian:10.12-slim
COPY --from=builder /tmp/busybox /bin/busybox

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-debian"

Expand All @@ -29,7 +30,6 @@ ENV \

COPY ./overlay /
COPY ./10/overlay /
COPY --from=builder /tmp/busybox /bin/busybox

RUN chmod +x ${BF_BIN}/bf-install && bf-install

Expand Down
2 changes: 1 addition & 1 deletion 11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apt update && apt install --no-install-recommends -y build-essential git &&
make defconfig && make

FROM debian:11.4-slim
COPY --from=builder /tmp/busybox /bin/busybox

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-debian"

Expand All @@ -29,7 +30,6 @@ ENV \

COPY ./overlay /
COPY ./11/overlay /
COPY --from=builder /tmp/busybox /bin/busybox

RUN chmod +x ${BF_BIN}/bf-install && bf-install

Expand Down
2 changes: 1 addition & 1 deletion 12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apt update && apt install --no-install-recommends -y build-essential git &&
make defconfig && make

FROM debian:bookworm-slim
COPY --from=builder /tmp/busybox /bin/busybox

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-debian"

Expand All @@ -29,7 +30,6 @@ ENV \

COPY ./overlay /
COPY ./12/overlay /
COPY --from=builder /tmp/busybox /bin/busybox

RUN chmod +x ${BF_BIN}/bf-install && bf-install

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.esh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apt update && apt install --no-install-recommends -y build-essential git &&
make defconfig && make

FROM debian:<%= ${DEBIAN_MINOR} %>-slim
COPY --from=builder /tmp/busybox /bin/busybox

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-debian"

Expand All @@ -29,7 +30,6 @@ ENV \

COPY ./overlay /
COPY ./<%= ${DEBIAN_VERSION} %>/overlay /
COPY --from=builder /tmp/busybox /bin/busybox

RUN chmod +x ${BF_BIN}/bf-install && bf-install

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0
1.1.1
13 changes: 0 additions & 13 deletions overlay/tmp/install
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,3 @@ busybox --install
#======================================================================================================================

bf-tz "Europe/London"


#======================================================================================================================
# Cleanup.
#======================================================================================================================

bf-echo "Removing .empty files..."
rm /.empty
rm /etc/bf/init.d/.empty
rm /etc/bf/src/.empty
rm /etc/bf/templates/.empty
rm /usr/lib/bf/inc/.empty
bf-done
3 changes: 3 additions & 0 deletions overlay/usr/bin/bf/bf-clear
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ bf-debug "Clearing caches..." "bf-clear"
rm -rf /var/lib/apt/lists/*
rm -rf /var/cache/*

bf-debug "Removing .empty files..."
find / -type f -name ".empty" -delete

bf-debug "Done." "bf-clear"
2 changes: 1 addition & 1 deletion sid/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apt update && apt install --no-install-recommends -y build-essential git &&
make defconfig && make

FROM debian:sid-slim
COPY --from=builder /tmp/busybox /bin/busybox

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-debian"

Expand All @@ -29,7 +30,6 @@ ENV \

COPY ./overlay /
COPY ./sid/overlay /
COPY --from=builder /tmp/busybox /bin/busybox

RUN chmod +x ${BF_BIN}/bf-install && bf-install

Expand Down

0 comments on commit 96bac60

Please sign in to comment.