Skip to content

Commit a09000f

Browse files
committed
Initial commit
0 parents  commit a09000f

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

.github/workflows/build.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
env:
9+
REGISTRY: ghcr.io
10+
IMAGE_NAME: ${{ github.repository }}
11+
12+
jobs:
13+
docker:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Set up QEMU
17+
uses: docker/setup-qemu-action@v3
18+
19+
- name: Set up Docker Buildx
20+
uses: docker/setup-buildx-action@v3
21+
22+
- name: Login to Docker Hub
23+
uses: docker/login-action@v3
24+
with:
25+
registry: ${{ env.REGISTRY }}
26+
username: ${{ github.actor }}
27+
password: ${{ secrets.GITHUB_TOKEN }}
28+
29+
- name: Build and push
30+
uses: docker/build-push-action@v6
31+
with:
32+
platforms: linux/amd64,linux/arm64
33+
push: true
34+
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM alpine:3.20
2+
RUN apk add --no-cache beanstalkd
3+
USER nobody
4+
CMD ["beanstalkd", "-p", "11300"]

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# beanstalkd-docker
2+
3+
Docker image for [beanstalkd](https://github.com/beanstalkd/beanstalkd/) based on alpine. This repo exists is because I found no reasonable multi-arch (ARM64) images on Docker Hub.
4+
5+
beanstalkd exists in the alpine repos, so this Dockerfile does not much more than an `apk add beanstalkd`.

0 commit comments

Comments
 (0)