-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update fish versions 3.2.2 through 3.4.1 (#18)
Co-authored-by: Kevin F. Konrad <kevin.konrad@skillbyte.de>
- Loading branch information
Showing
5 changed files
with
153 additions
and
2 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 |
---|---|---|
@@ -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"] |
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,4 +1,4 @@ | ||
FROM alpine:3.14 | ||
FROM alpine:3.21.2 | ||
|
||
ARG FISH_VERSION=3.3.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.14 | ||
FROM alpine:3.21.2 | ||
|
||
ARG FISH_VERSION=3.3.1 | ||
|
||
|
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 |
---|---|---|
@@ -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"] |
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 |
---|---|---|
@@ -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"] |