-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f37f527
commit cf3ef70
Showing
9 changed files
with
885 additions
and
7 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# docker-ubuntu | ||
|
||
[![github-actions](https://github.com/theohbrothers/docker-ubuntu/actions/workflows/ci-master-pr.yml/badge.svg?branch=master)](https://github.com/theohbrothers/docker-ubuntu/actions/workflows/ci-master-pr.yml) | ||
[![github-release](https://img.shields.io/github/v/release/theohbrothers/docker-ubuntu?style=flat-square)](https://github.com/theohbrothers/docker-ubuntu/releases/) | ||
[![docker-image-size](https://img.shields.io/docker/image-size/theohbrothers/docker-ubuntu/latest)](https://hub.docker.com/r/theohbrothers/docker-ubuntu) | ||
|
||
Dockerized ubuntu with useful tools. | ||
|
||
## Tags | ||
|
||
| Tag | Dockerfile Build Context | | ||
|:-------:|:---------:| | ||
| `:24.04-ci`, `:latest` | [View](variants/24.04-ci) | | ||
| `:22.04-ci` | [View](variants/22.04-ci) | | ||
| `:20.04-ci` | [View](variants/20.04-ci) | | ||
| `:18.04-ci` | [View](variants/18.04-ci) | | ||
| `:16.04-ci` | [View](variants/16.04-ci) | | ||
|
||
## Development | ||
|
||
Requires Windows `powershell` or [`pwsh`](https://github.com/PowerShell/PowerShell). | ||
|
||
```powershell | ||
# Install Generate-DockerImageVariants module: https://github.com/theohbrothers/Generate-DockerImageVariants | ||
Install-Module -Name Generate-DockerImageVariants -Repository PSGallery -Scope CurrentUser -Force -Verbose | ||
# Edit ./generate templates | ||
# Generate the variants | ||
Generate-DockerImageVariants . | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ubuntu:16.04 | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y \ | ||
ca-certificates \ | ||
# dnsutils iproute2 netcat net-tools \ | ||
# rsync \ | ||
wget; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y bats; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y curl; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y jq; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ubuntu:18.04 | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y \ | ||
ca-certificates \ | ||
# dnsutils iproute2 netcat net-tools \ | ||
# rsync \ | ||
wget; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y bats; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y curl; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y jq; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ubuntu:20.04 | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y \ | ||
ca-certificates \ | ||
# dnsutils iproute2 netcat net-tools \ | ||
# rsync \ | ||
wget; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y bats; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y curl; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y jq; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ubuntu:22.04 | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y \ | ||
ca-certificates \ | ||
# dnsutils iproute2 netcat net-tools \ | ||
# rsync \ | ||
wget; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y bats; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y curl; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y jq; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ubuntu:24.04 | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y \ | ||
ca-certificates \ | ||
# dnsutils iproute2 netcat net-tools \ | ||
# rsync \ | ||
wget; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y bats; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y curl; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install --no-install-recommends -y jq; \ | ||
apt-get clean; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|