Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #33 from jdrouet/refactor-debian-image
Browse files Browse the repository at this point in the history
mutualize dockerfiles for all debian versions
  • Loading branch information
sfackler authored Jan 26, 2022
2 parents bae0446 + a1d0530 commit 3a50bf3
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 67 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,25 @@ jobs:
ALPINE_VERSION=3.14
tags: |
nightly-alpine3.14
- context: bullseye
- context: debian
args: |
DEBIAN_VERSION=bullseye
tags: |
nightly-bullseye
- context: bullseye/slim
- context: debian
args: |
DEBIAN_VERSION=buster
tags: |
nightly-bullseye-slim
- context: buster
nightly
nightly-buster
- context: debian-slim
args: |
DEBIAN_VERSION=bullseye
tags: |
value=nightly
value=nightly-buster
- context: buster/slim
nightly-bullseye-slim
- context: debian-slim
args: |
DEBIAN_VERSION=buster
tags: |
nightly-slim
nightly-buster-slim
Expand Down
23 changes: 0 additions & 23 deletions buster/Dockerfile

This file was deleted.

35 changes: 0 additions & 35 deletions buster/slim/Dockerfile

This file was deleted.

3 changes: 2 additions & 1 deletion bullseye/slim/Dockerfile → debian-slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM debian:bullseye-slim
ARG DEBIAN_VERSION
FROM debian:${DEBIAN_VERSION}-slim

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
Expand Down
3 changes: 2 additions & 1 deletion bullseye/Dockerfile → debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM buildpack-deps:bullseye
ARG DEBIAN_VERSION
FROM buildpack-deps:${DEBIAN_VERSION}

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
Expand Down

0 comments on commit 3a50bf3

Please sign in to comment.