Skip to content

Commit 8cd4855

Browse files
committed
fix plugin folder for none users
1 parent cce476d commit 8cd4855

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1414
rm -rf /var/lib/apt/lists/*
1515

1616
RUN \
17-
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} && \
18-
mkdir -p $DOCKER_CONFIG/cli-plugins && \
19-
curl -SL https://github.com/docker/compose/releases/download/v2.34.0/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose && \
20-
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose
17+
DOCKER_CONFIG=/usr/lib/docker/cli-plugins && \
18+
mkdir -p $DOCKER_CONFIG && \
19+
curl -SL https://github.com/docker/compose/releases/download/v2.34.0/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/docker-compose && \
20+
chmod +x $DOCKER_CONFIG/docker-compose
2121

2222
COPY requirements.txt /
2323
RUN pip install --no-cache-dir --upgrade pip && \

0 commit comments

Comments
 (0)