Browse Source

docker: entry point change working directory from root to /data

pull/2454/head
Chris Lu 3 years ago
parent
commit
947fe4cc97
  1. 1
      docker/Dockerfile
  2. 1
      docker/Dockerfile.gccgo_build
  3. 1
      docker/Dockerfile.go_build
  4. 1
      docker/Dockerfile.go_build_large
  5. 1
      docker/Dockerfile.local
  6. 2
      docker/Dockerfile.rocksdb_large

1
docker/Dockerfile

@ -48,6 +48,7 @@ EXPOSE 7333
RUN mkdir -p /data/filerldb2 RUN mkdir -p /data/filerldb2
VOLUME /data VOLUME /data
WORKDIR /data
COPY filer.toml /etc/seaweedfs/filer.toml COPY filer.toml /etc/seaweedfs/filer.toml
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh

1
docker/Dockerfile.gccgo_build

@ -37,6 +37,7 @@ EXPOSE 7333
RUN mkdir -p /data/filerldb2 RUN mkdir -p /data/filerldb2
VOLUME /data VOLUME /data
WORKDIR /data
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh

1
docker/Dockerfile.go_build

@ -36,6 +36,7 @@ EXPOSE 7333
RUN mkdir -p /data/filerldb2 RUN mkdir -p /data/filerldb2
VOLUME /data VOLUME /data
WORKDIR /data
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh

1
docker/Dockerfile.go_build_large

@ -36,6 +36,7 @@ EXPOSE 7333
RUN mkdir -p /data/filerldb2 RUN mkdir -p /data/filerldb2
VOLUME /data VOLUME /data
WORKDIR /data
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh

1
docker/Dockerfile.local

@ -26,6 +26,7 @@ EXPOSE 7333
RUN mkdir -p /data/filerldb2 RUN mkdir -p /data/filerldb2
VOLUME /data VOLUME /data
WORKDIR /data
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh

2
docker/Dockerfile.rocksdb_large

@ -54,6 +54,8 @@ RUN mkdir -p /data/filerldb2
VOLUME /data VOLUME /data
WORKDIR /data
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
Loading…
Cancel
Save