Skip to content

Commit 96e6cee

Browse files
authored
Merge pull request #1 from ii/add-ci-container-build
Add CI container image build
2 parents 9276243 + 3ffe55b commit 96e6cee

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

.github/workflows/github.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
permissions:
11+
packages: write
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Login to Github Packages
16+
uses: docker/login-action@v2
17+
with:
18+
registry: ghcr.io
19+
username: ${{ github.actor }}
20+
password: ${{ secrets.GITHUB_TOKEN }}
21+
- name: Build the container image
22+
run: |
23+
export BUILD_DATE="$(date +%s)"
24+
docker build . --file Dockerfile --tag ghcr.io/ii/emacs-coder:latest
25+
- name: Push the container image
26+
run: |
27+
docker push ghcr.io/ii/emacs-coder:latest

Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,35 @@ RUN apt-get update && \
66
ripgrep \
77
fasd \
88
libtool-bin \
9+
bash-completion \
10+
ca-certificates \
11+
curl \
12+
direnv \
13+
dnsutils \
14+
fd-find \
15+
file \
16+
gettext-base \
17+
git \
18+
gnupg2 \
19+
htop \
20+
iftop \
21+
iproute2 \
22+
iputils-ping \
23+
jq \
24+
kitty \
25+
less \
26+
locate \
27+
net-tools \
28+
openssh-client \
29+
sudo \
30+
tcpdump \
31+
tmux \
32+
tree \
33+
tzdata \
34+
unzip \
35+
vim \
36+
wget \
37+
xz-utils \
938
sudo
1039
# Created a ppa for emacs + broadway&nativecomp (build/Dockerfile has some of the process documented)
1140
# We need a custom build to run against broadwayd

0 commit comments

Comments
 (0)