Skip to content

Commit

Permalink
Update Dockerfile (#29793)
Browse files Browse the repository at this point in the history
Remove krew install. As it does not work in the docker file

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

**➕ App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: alfi0812 <[email protected]>
Signed-off-by: Kjeld Schouten <[email protected]>
Co-authored-by: Kjeld Schouten <[email protected]>
  • Loading branch information
alfi0812 and PrivatePuffin authored Nov 27, 2024
1 parent acb78d6 commit ea7a259
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ fisher install nickeb96/puffer-fish
fisher install PatrickF1/fzf.fish
"

kubectl krew install pv-mounter

# Create/update virtual environment
if ! grep -q "venv /workspaces/" .venv/pyvenv.cfg; then
rm -rf .venv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ fisher install nickeb96/puffer-fish
fisher install PatrickF1/fzf.fish
"

kubectl krew install pv-mounter

# Create/update virtual environment
if ! grep -q "venv /workspaces/" .venv/pyvenv.cfg; then
rm -rf .venv
Expand Down
7 changes: 3 additions & 4 deletions containers/apps/devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ RUN \
apk update && \
apk --no-cache update && \
apk --no-cache add \
sshfs && \
sshfs \
libc6-compat \
fuse && \
rm -rf /var/cache/apk/* /tmp/* /var/tmp/*

# Download and set up the clustertool binary
Expand All @@ -30,9 +32,6 @@ ENV PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
# add pvmounter to kubectl using crew
RUN kubectl krew install pv-mounter

# Needed for clustertool binaries
RUN apk add libc6-compat

# Maintainer and metadata
LABEL "maintainer"="TrueCharts <[email protected]>"
LABEL "org.opencontainers.image.source"="https://github.com/truecharts/apps"
Expand Down

0 comments on commit ea7a259

Please sign in to comment.