Compare commits
No commits in common. "bdd398a27d7bd1a793c921a8a85bc9dfc00f3a8f" and "a34f8a767fe071fc7045345ec1029b83f0e3aae7" have entirely different histories.
bdd398a27d
...
a34f8a767f
2 changed files with 8 additions and 11 deletions
|
@ -14,8 +14,8 @@ jobs:
|
|||
- name: Install dependencies
|
||||
id: dependencies
|
||||
run: |
|
||||
apt-get update > /dev/null
|
||||
apt-get install -y -qq nodejs curl git > /dev/null
|
||||
apt-get update
|
||||
apt-get install -y -qq nodejs curl git
|
||||
curl -sSL https://get.docker.com/ | sh
|
||||
|
||||
- name: Checkout
|
||||
|
@ -31,9 +31,6 @@ jobs:
|
|||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/arm64
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
github_token: ${{ secrets.REPOSITORY_SECRET }}
|
||||
tags: |
|
||||
scm.project42.io/elia/ansible-actions-container:latest
|
||||
scm.project42.io/elia/ansible-actions-container:python-3.12.2
|
||||
tags: scm.project42.io/elia/ansible-actions-container:latest
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
FROM python:3.12.2-slim-bookworm
|
||||
|
||||
RUN apt-get update > /dev/null && \
|
||||
apt-get install -y -qq nodejs git > /dev/null && \
|
||||
apt-get clean > /dev/null && \
|
||||
RUN apt-get update && \
|
||||
apt-get install -y -qq nodejs git && \
|
||||
apt-get clean && \
|
||||
useradd -m --uid 1010 --shell /bin/bash ansible
|
||||
|
||||
USER 1010
|
||||
|
||||
RUN pip install --user ansible > /dev/null && \
|
||||
RUN pip install --user ansible && \
|
||||
echo 'export PATH="$HOME/.local/bin:$PATH"' >> $HOME/.bashrc
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
|
|
Loading…
Reference in a new issue