Skip to content

Commit 4a6bccd

Browse files
committed
dockerfile: last fix to ENV was wrong
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
1 parent c0b6184 commit 4a6bccd

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN if [ "$(uname -m)" != "x86_64" -a "$(uname -m)" != "i386" ]; then \
1818
RUN python3 -m pip install gsutil --break-system-packages
1919

2020
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && apt-get install -y locales -qq && locale-gen
21-
ENV LANG en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 HOME=/tmp
21+
ENV LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 HOME=/tmp
2222
RUN mkdir -p /home/tunasync-scripts
2323
CMD ["/bin/bash"]
2424

dockerfiles/ftpsync/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ RUN apt-get update && \
77

88
RUN git clone https://ftp-master.debian.org/git/archvsync.git/ /ftpsync/
99
WORKDIR /ftpsync/
10-
ENV PATH /ftpsync/bin:${PATH}
10+
ENV PATH=/ftpsync/bin:${PATH}
1111
CMD ["/bin/bash"]
1212

dockerfiles/nix-channels/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ RUN mkdir -p /tmp/nix.unpack && \
1616
ln -s /nix/store/*-nix-*/bin/* /usr/local/bin && \
1717
rm -rf /tmp/nix.unpack
1818

19-
ENV HOME /tmp
19+
ENV HOME=/tmp
2020
CMD ["/bin/bash"]

dockerfiles/pub-mirror/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ RUN \
1414
mv /usr/lib/dart-sdk /usr/lib/dart && \
1515
chmod -R "og+rX" /usr/lib/dart
1616

17-
ENV DART_SDK /usr/lib/dart
18-
ENV PATH $DART_SDK/bin:/root/.pub-cache/bin:$PATH
17+
ENV DART_SDK=/usr/lib/dart
18+
ENV PATH=$DART_SDK/bin:/root/.pub-cache/bin:$PATH
1919
WORKDIR /root
2020

2121
RUN set -eux; \
@@ -46,7 +46,7 @@ RUN set -eux; \
4646
FROM dart-build
4747
LABEL maintainer="HUI Yiqun <i@huiyiqun.me>"
4848

49-
ENV PUB_CACHE /pub-cache
49+
ENV PUB_CACHE=/pub-cache
5050

5151
RUN pub global activate -s git https://github.com/tuna/pub-mirror.git
5252

dockerfiles/rubygems-mirror/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ FROM ruby:2.7-alpine
22
RUN gem install rubygems-mirror
33
RUN apk add bash curl
44
# the command timeout provided by old verison of busybox was incompatible with that from coreutils and is compatible now.
5-
ENV BUSYBOX 0
6-
ENV HOME /tmp
5+
ENV BUSYBOX=0
6+
ENV HOME=/tmp

retired/dockerfiles/julia-mirror/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM julia:1.5
88
LABEL description="A community maintained docker script to set up julia mirror easily."
99
LABEL maintainer="Johnny Chen <johnnychen94@hotmail.com>"
1010

11-
ENV JULIA_DEPOT_PATH "/opt/julia"
11+
ENV JULIA_DEPOT_PATH="/opt/julia"
1212

1313
RUN adduser --uid 2000 tunasync && \
1414
julia -e 'using Pkg; pkg"add StorageMirrorServer@0.2.0"' && \

0 commit comments

Comments
 (0)