diff --git a/docker/Dockerfile.j2 b/docker/Dockerfile.j2 index 4261142..c273b4e 100644 --- a/docker/Dockerfile.j2 +++ b/docker/Dockerfile.j2 @@ -156,7 +156,7 @@ RUN apt-get update && apt-get install -y \ {% endif %} # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files diff --git a/docker/aarch64/mysql/Dockerfile b/docker/aarch64/mysql/Dockerfile index e7ec240..e15c25b 100644 --- a/docker/aarch64/mysql/Dockerfile +++ b/docker/aarch64/mysql/Dockerfile @@ -65,7 +65,7 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files diff --git a/docker/aarch64/sqlite/Dockerfile b/docker/aarch64/sqlite/Dockerfile index 0945e57..1cebf6b 100644 --- a/docker/aarch64/sqlite/Dockerfile +++ b/docker/aarch64/sqlite/Dockerfile @@ -59,7 +59,7 @@ ENV CARGO_HOME "/root/.cargo" ENV USER "root" # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files diff --git a/docker/amd64/mysql/Dockerfile b/docker/amd64/mysql/Dockerfile index d59c895..53da03a 100644 --- a/docker/amd64/mysql/Dockerfile +++ b/docker/amd64/mysql/Dockerfile @@ -44,7 +44,7 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files diff --git a/docker/amd64/mysql/Dockerfile.alpine b/docker/amd64/mysql/Dockerfile.alpine index 295ef3c..62ad91d 100644 --- a/docker/amd64/mysql/Dockerfile.alpine +++ b/docker/amd64/mysql/Dockerfile.alpine @@ -39,7 +39,7 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files diff --git a/docker/amd64/postgresql/Dockerfile b/docker/amd64/postgresql/Dockerfile index bf1aa2f..decc2c2 100644 --- a/docker/amd64/postgresql/Dockerfile +++ b/docker/amd64/postgresql/Dockerfile @@ -44,7 +44,7 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files diff --git a/docker/amd64/postgresql/Dockerfile.alpine b/docker/amd64/postgresql/Dockerfile.alpine index 7177698..a242905 100644 --- a/docker/amd64/postgresql/Dockerfile.alpine +++ b/docker/amd64/postgresql/Dockerfile.alpine @@ -39,7 +39,7 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files diff --git a/docker/amd64/sqlite/Dockerfile b/docker/amd64/sqlite/Dockerfile index 56cf4be..d874f10 100644 --- a/docker/amd64/sqlite/Dockerfile +++ b/docker/amd64/sqlite/Dockerfile @@ -38,7 +38,7 @@ ARG DB=sqlite RUN rustup set profile minimal # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files diff --git a/docker/amd64/sqlite/Dockerfile.alpine b/docker/amd64/sqlite/Dockerfile.alpine index 3a1ca32..831eae5 100644 --- a/docker/amd64/sqlite/Dockerfile.alpine +++ b/docker/amd64/sqlite/Dockerfile.alpine @@ -33,7 +33,7 @@ RUN rustup set profile minimal ENV USER "root" # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files diff --git a/docker/armv6/mysql/Dockerfile b/docker/armv6/mysql/Dockerfile index ceb2ba6..c6920e3 100644 --- a/docker/armv6/mysql/Dockerfile +++ b/docker/armv6/mysql/Dockerfile @@ -65,7 +65,7 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files diff --git a/docker/armv6/sqlite/Dockerfile b/docker/armv6/sqlite/Dockerfile index 638cd98..47b81a5 100644 --- a/docker/armv6/sqlite/Dockerfile +++ b/docker/armv6/sqlite/Dockerfile @@ -59,7 +59,7 @@ ENV CARGO_HOME "/root/.cargo" ENV USER "root" # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files diff --git a/docker/armv7/mysql/Dockerfile b/docker/armv7/mysql/Dockerfile index 74265b4..9efa0c4 100644 --- a/docker/armv7/mysql/Dockerfile +++ b/docker/armv7/mysql/Dockerfile @@ -54,7 +54,7 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files diff --git a/docker/armv7/sqlite/Dockerfile b/docker/armv7/sqlite/Dockerfile index 32bcb0b..317dbf1 100644 --- a/docker/armv7/sqlite/Dockerfile +++ b/docker/armv7/sqlite/Dockerfile @@ -48,7 +48,7 @@ RUN sed 's/^deb/deb-src/' /etc/apt/sources.list > \ libc6-dev:armhf # Creates a dummy project used to grab dependencies -RUN USER=root cargo new --bin app +RUN USER=root cargo new --bin /app WORKDIR /app # Copies over *only* your manifests and build files