Skip to content

Commit ce58f64

Browse files
authored
Merge pull request #10 from appzic/refactor/restructure-project
feat: add ubuntu base image
2 parents d4200e9 + 81897c0 commit ce58f64

4 files changed

Lines changed: 25 additions & 5 deletions

File tree

.github/workflows/build-and-push.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
name: Build and Push DevContainer Images
22

33
on:
4-
workflow_dispatch:
4+
pull_request:
5+
branches:
6+
- main
7+
types:
8+
- opened
9+
- reopened
10+
- synchronize
11+
paths:
12+
- "./dockerfiles/**"
513

614
jobs:
715
detect-changes:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

dockerfiles/ubuntu/Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
ARG VERSION
2-
FROM mcr.microsoft.com/devcontainers/base:ubuntu-${VERSION}
1+
ARG UBUNTU_VERSION
2+
3+
FROM mcr.microsoft.com/devcontainers/base:ubuntu-${UBUNTU_VERSION}
34

45
USER vscode
56

6-
RUN apt-get update && apt-get install -y \
7+
RUN sudo apt-get update && sudo apt-get install -y \
78
build-essential \
89
wget \
910
curl \
@@ -12,4 +13,5 @@ RUN apt-get update && apt-get install -y \
1213
software-properties-common \
1314
ca-certificates \
1415
lsb-release \
15-
apt-transport-https
16+
apt-transport-https \
17+
telnet

dockerfiles/ubuntu/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
image:
2+
name: ghcr.io/appzic/devcontainer-ubuntu
3+
tags:
4+
- tag: 22.04
5+
args:
6+
- ubuntu_version: 22.04
7+
- tag: 24.04
8+
args:
9+
- ubuntu_version: 24.04

0 commit comments

Comments
 (0)