Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down
15 changes: 3 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ RUN pip install -r /tmp/requirements.txt \
&& curl -LO https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/${TARGETPLATFORM}/kubectl \
&& install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl \
&& rm kubectl

ENV UV_LINK_MODE=copy

# Popeye (ARM or AMD)
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
wget https://github.com/derailed/popeye/releases/download/v${POPEYE_VERSION}/popeye_linux_arm64.tar.gz && \
Expand All @@ -60,17 +63,5 @@ RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
fi \
&& mv popeye /usr/local/bin \
&& rm LICENSE README.md
# uv
ADD https://astral.sh/uv/${UV_VERSION}/install.sh /uv-installer.sh
RUN apt-get update \
&& apt-get install -y \
vim \
&& sh /uv-installer.sh \
&& rm /uv-installer.sh \
&& mv /root/.local/bin/uv /usr/local/bin \
&& mv /root/.local/bin/uvx /usr/local/bin \
&& chown -R $USERNAME /usr/local/bin/uv \
&& chown -R $USERNAME /usr/local/bin/uvx
ENV UV_LINK_MODE=copy

USER $USERNAME
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ your workspace `.devcontainer` directory and VS Code should do the rest.
The above creates an image with the user "vscode" and the following tools
installed (amongst others): -

- python (3.13 debian)
- uv (0.10.4)
- pre-commit (4.2)
- ansible (11.8)
- kubectl (1.35)
- popeye (0.22)
- python
- uv
- pre-commit
- ansible
- kubectl
- popeye
- Docker-in-Docker

**NOTE** You need a directory `~/k8s-config` on your local machine. The
Expand Down
13 changes: 7 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
pre-commit == 4.2.0
ansible == 11.8.0
kubernetes == 31.0.0
ansible == 13.3.0
botocore == 1.42.43
boto3 == 1.42.43
jmespath == 1.1.0
kubernetes == 35.0.0
openshift == 0.13.2
botocore == 1.39.8
boto3 == 1.39.8
jmespath == 1.0.1
pre-commit == 4.5.1
uv == 0.10.4