Skip to content

Commit

Permalink
feat: new workflow to build a SSH Agent Base Docker image (#545)
Browse files Browse the repository at this point in the history
* fix: typo

* fix: Dockerfile
  • Loading branch information
kuisathaverat authored Dec 20, 2024
1 parent e04c942 commit b2fb086
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ssh-agent-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
tags: |
type=raw,prefix=base,value=latest,enable={{is_default_branch}}
type=ref,prefix=base,event=branch
type=ref,prefix=base,vent=pr
type=ref,prefix=base,event=pr
type=sha,prefix=base
- name: Build and push
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ USER root

ENV TZ=Etc/UTC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN add-apt-repository ppa:openjdk-r/ppa -y
RUN DEBIAN_FRONTEND="noninteractive" apt-get update -y -qq \
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y -qq \
--no-install-recommends \
openssh-server \
software-properties-common \
git \
make \
make

RUN add-apt-repository ppa:openjdk-r/ppa -y \
&& DEBIAN_FRONTEND="noninteractive" apt-get update -y -qq \
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y -qq \
openjdk-17-jdk \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit b2fb086

Please sign in to comment.