Skip to content

Commit ee8f540

Browse files
committed
refac
1 parent 0d83488 commit ee8f540

File tree

3 files changed

+16
-19
lines changed

3 files changed

+16
-19
lines changed

.github/workflows/image.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ jobs:
8484
# tags: ${{ steps.mkdocs.outputs.tags }}
8585
# registry: ${{ env.REGISTRY }}
8686

87-
- name: rider-ssh
87+
- name: rider
8888
id: rider
8989
uses: redhat-actions/buildah-build@v2
9090
with:
9191
image: ${{ env.IMAGE_NAME }}
92-
tags: rider-ssh
92+
tags: rider
9393
context: .
9494
containerfiles: |
95-
./images/rider-ssh.Containerfile
95+
./images/rider.Containerfile
9696
97-
- name: Push python
97+
- name: Push rider
9898
uses: redhat-actions/push-to-registry@v2
9999
with:
100100
image: ${{ steps.rider.outputs.image }}

images/rider-ssh.Containerfile

Lines changed: 0 additions & 15 deletions
This file was deleted.

images/rider.Containerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM ghcr.io/queil/image:latest
2+
3+
RUN microdnf install --nodocs --setopt install_weak_deps=0 -y \
4+
openssh-server openssh-clients java-21-openjdk java-21-openjdk-devel \
5+
&& microdnf clean all
6+
7+
RUN mkdir -p /var/run/sshd && \
8+
ssh-keygen -A
9+
10+
RUN echo "queil:rider" | chpasswd
11+
12+
CMD ["/usr/sbin/sshd", "-D", "-p", "2222", "-E", "/dev/stderr"]

0 commit comments

Comments
 (0)