Spaces:
Sleeping
Sleeping
SHELL
Browse files- Dockerfile +4 -2
- pup +4 -3
Dockerfile
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
-
FROM alpine:
|
2 |
|
3 |
-
RUN apk add --no-cache bash curl
|
|
|
|
|
4 |
|
5 |
WORKDIR /code
|
6 |
|
|
|
1 |
+
FROM alpine:latest
|
2 |
|
3 |
+
RUN apk add --no-cache bash curl
|
4 |
+
|
5 |
+
SHELL ["/bin/bash", "-c"]
|
6 |
|
7 |
WORKDIR /code
|
8 |
|
pup
CHANGED
@@ -218,9 +218,10 @@ if [ "$1" == "pixi" ]; then
|
|
218 |
if [ "$2" == "init" ]; then
|
219 |
# install and init Pixi project in pup's home dir
|
220 |
if ! command -v pixi &> /dev/null; then
|
221 |
-
curl -fsSL https://pixi.sh/install.sh
|
222 |
-
|
223 |
-
|
|
|
224 |
ls -l
|
225 |
fi
|
226 |
PUPHOME=$(pup home)
|
|
|
218 |
if [ "$2" == "init" ]; then
|
219 |
# install and init Pixi project in pup's home dir
|
220 |
if ! command -v pixi &> /dev/null; then
|
221 |
+
curl -fsSL https://pixi.sh/install.sh | bash
|
222 |
+
# -o pixi_install.sh
|
223 |
+
# chmod +x ./pixi_install.sh
|
224 |
+
# sh -c ./pixi_install.sh
|
225 |
ls -l
|
226 |
fi
|
227 |
PUPHOME=$(pup home)
|