Skip to content

Commit b364ef9

Browse files
committed
added mount instructions
1 parent 1c91f8a commit b364ef9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

influxdb/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
FROM arm32v7/influxdb:latest
2-
COPY hello.txt .
2+
RUN echo "LABEL=influxdb /mnt/influxdb ext4 rw,relatime,discard,data=ordered 0 2" >> /etc/fstab
3+
COPY start.sh .

influxdb/hello.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

influxdb/start.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
mkdir -p /mnt/influxdb
3+
mount /mnt/influxdb

0 commit comments

Comments
 (0)