Skip to content

Commit

Permalink
update fish versions 3.2.2 through 3.4.1 (#18)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin F. Konrad <kevin.konrad@skillbyte.de>
  • Loading branch information
kfkonrad and Kevin F. Konrad authored Feb 25, 2025
1 parent af45ab0 commit 383b59e
Show file tree
Hide file tree
Showing 5 changed files with 153 additions and 2 deletions.
51 changes: 51 additions & 0 deletions fish/3.2.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
FROM alpine:3.21.2

ARG FISH_VERSION=3.2.2

RUN echo "Building Fish-${FISH_VERSION}"; \
apk update \
&& apk add curl \
&& curl \
--location \
--silent \
https://github.com/fish-shell/fish-shell/releases/download/${FISH_VERSION}/fish-${FISH_VERSION}.tar.xz \
> fish-${FISH_VERSION}.tar.xz \
&& tar xf fish-${FISH_VERSION}.tar.xz # tar: invalid tar magic fix
RUN apk add \
bash \
bc \
cmake \
g++ \
git \
groff \
less \
libgcc \
libstdc++ \
make \
ncurses \
ncurses-dev \
openssh-client \
python3 \
screen \
sed \
sudo \
util-linux \
vim
RUN cd fish-${FISH_VERSION} \
&& make build \
&& cd build \
&& cmake .. \
&& make \
&& make install
RUN fish -c true \
&& adduser \
-D \
-u 1000 \
-s /usr/local/bin/fish \
nemo \
&& echo 'nemo ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers

USER nemo
WORKDIR /home/nemo

CMD ["fish"]
2 changes: 1 addition & 1 deletion fish/3.3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.14
FROM alpine:3.21.2

ARG FISH_VERSION=3.3.0

Expand Down
2 changes: 1 addition & 1 deletion fish/3.3.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.14
FROM alpine:3.21.2

ARG FISH_VERSION=3.3.1

Expand Down
50 changes: 50 additions & 0 deletions fish/3.4.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
FROM alpine:3.21.2

ARG FISH_VERSION=3.4.0

RUN echo "Building Fish-${FISH_VERSION}"; \
apk update \
&& apk add curl \
&& curl \
--location \
--silent \
https://github.com/fish-shell/fish-shell/releases/download/${FISH_VERSION}/fish-${FISH_VERSION}.tar.xz \
> fish-${FISH_VERSION}.tar.xz \
&& tar xf fish-${FISH_VERSION}.tar.xz # tar: invalid tar magic fix
RUN apk add \
bash \
bc \
cmake \
g++ \
git \
groff \
less \
libgcc \
libstdc++ \
make \
ncurses \
ncurses-dev \
openssh-client \
python3 \
screen \
sed \
sudo \
util-linux \
vim
RUN cd fish-${FISH_VERSION} \
&& make \
&& make install \
&& cd / \
&& rm -rf fish-${FISH_VERSION}*
RUN fish -c true \
&& adduser \
-D \
-u 1000 \
-s /usr/local/bin/fish \
nemo \
&& echo 'nemo ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers

USER nemo
WORKDIR /home/nemo

CMD ["fish"]
50 changes: 50 additions & 0 deletions fish/3.4.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
FROM alpine:3.21.2

ARG FISH_VERSION=3.4.1

RUN echo "Building Fish-${FISH_VERSION}"; \
apk update \
&& apk add curl \
&& curl \
--location \
--silent \
https://github.com/fish-shell/fish-shell/releases/download/${FISH_VERSION}/fish-${FISH_VERSION}.tar.xz \
> fish-${FISH_VERSION}.tar.xz \
&& tar xf fish-${FISH_VERSION}.tar.xz # tar: invalid tar magic fix
RUN apk add \
bash \
bc \
cmake \
g++ \
git \
groff \
less \
libgcc \
libstdc++ \
make \
ncurses \
ncurses-dev \
openssh-client \
python3 \
screen \
sed \
sudo \
util-linux \
vim
RUN cd fish-${FISH_VERSION} \
&& make \
&& make install \
&& cd / \
&& rm -rf fish-${FISH_VERSION}*
RUN fish -c true \
&& adduser \
-D \
-u 1000 \
-s /usr/local/bin/fish \
nemo \
&& echo 'nemo ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers

USER nemo
WORKDIR /home/nemo

CMD ["fish"]

0 comments on commit 383b59e

Please sign in to comment.