-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add redis cli, postgresl cli, move to python base image and bump vers…
…ion to 1.2.0
- Loading branch information
Showing
4 changed files
with
19 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,25 @@ | ||
FROM ubuntu:xenial | ||
FROM python:3.11-slim | ||
|
||
# TODO: Fold the update with the install once this has stabilized | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8 | ||
|
||
# Install core requirements | ||
# Install core requirements | ||
RUN apt-get update --quiet && \ | ||
apt-get install --quiet --yes \ | ||
software-properties-common \ | ||
openssh-client \ | ||
git \ | ||
fish | ||
|
||
SHELL ["fish", "--command"] | ||
|
||
RUN chsh -s /usr/bin/fish | ||
|
||
ENV SHELL /usr/bin/fish | ||
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8 | ||
|
||
# Install fun things to have inside a k8s container | ||
RUN apt-get update --quiet -y | ||
RUN apt-get install --quiet -y \ | ||
curl \ | ||
dnsutils \ | ||
jq \ | ||
netcat \ | ||
tcpdump | ||
|
||
RUN alias k=kubectl | ||
RUN alias ll="ls -latr" | ||
netcat-traditional \ | ||
tcpdump \ | ||
redis-tools \ | ||
postgresql-client \ | ||
vim && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY VERSION /VERSION | ||
CMD [ "sleep", "infinity" ] # Overridable in yaml | ||
|
||
CMD ["sleep", "infinity"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.1.1 | ||
1.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,4 @@ spec: | |
cpu: "250m" | ||
limits: | ||
memory: "128Mi" | ||
cpu: "500m" | ||
cpu: "500m" |