Skip to content

Commit

Permalink
Rename included .env file to .env.template and ignored .env
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia committed Jan 6, 2019
1 parent 5e37471 commit f645e53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data
*.iml

# Environment file
# .env
.env

# Web vault
web-vault
web-vault

2 comments on commit f645e53

@dnetguru
Copy link

@dnetguru dnetguru commented on f645e53 Jan 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is making my local build fail! Should I be providing my own .env file prior to the build @dani-garcia?

build	06-Jan-2019 23:43:00	
build	06-Jan-2019 23:43:00	Step 1/33 : FROM alpine as vault
build	06-Jan-2019 23:43:00	 ---> 196d12cf6ab1
build	06-Jan-2019 23:43:00	Step 2/33 : ENV VAULT_VERSION "v2.8.0"
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> d0832bc2d396
build	06-Jan-2019 23:43:00	Step 3/33 : ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz"
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 88dea085f21f
build	06-Jan-2019 23:43:00	Step 4/33 : RUN apk add --update-cache --upgrade     curl     tar
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 97d1b68bae0e
build	06-Jan-2019 23:43:00	Step 5/33 : RUN mkdir /web-vault
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 007642b843df
build	06-Jan-2019 23:43:00	Step 6/33 : WORKDIR /web-vault
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 7fb8ef76346d
build	06-Jan-2019 23:43:00	Step 7/33 : RUN curl -L $URL | tar xz
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 45126568cbac
build	06-Jan-2019 23:43:00	Step 8/33 : RUN ls
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> bbdd769109bb
build	06-Jan-2019 23:43:00	Step 9/33 : FROM rust as build
build	06-Jan-2019 23:43:00	 ---> 9fe73ed91518
build	06-Jan-2019 23:43:00	Step 10/33 : RUN USER=root cargo new --bin app
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 6bf789e8a512
build	06-Jan-2019 23:43:00	Step 11/33 : WORKDIR /app
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> f2e7ad421bae
build	06-Jan-2019 23:43:00	Step 12/33 : COPY ./Cargo.* ./
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 36e508a8dcb7
build	06-Jan-2019 23:43:00	Step 13/33 : COPY ./rust-toolchain ./rust-toolchain
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 938aa1ed965c
build	06-Jan-2019 23:43:00	Step 14/33 : COPY ./build.rs ./build.rs
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 2d9f18848b24
build	06-Jan-2019 23:43:00	Step 15/33 : RUN cargo build --release
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> b21b3ddc5f5e
build	06-Jan-2019 23:43:00	Step 16/33 : RUN find . -not -path "./target*" -delete
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 1358f0616c61
build	06-Jan-2019 23:43:00	Step 17/33 : COPY . .
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> a25594c73a43
build	06-Jan-2019 23:43:00	Step 18/33 : RUN touch src/main.rs
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> b5867d7e2b44
build	06-Jan-2019 23:43:00	Step 19/33 : RUN cargo build --release
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 8d130cd4dcb8
build	06-Jan-2019 23:43:00	Step 20/33 : FROM debian:stretch-slim
build	06-Jan-2019 23:43:00	 ---> 44e19a16bde1
build	06-Jan-2019 23:43:00	Step 21/33 : ENV ROCKET_ENV "staging"
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 1f900a251c6e
build	06-Jan-2019 23:43:00	Step 22/33 : ENV ROCKET_PORT=80
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 031d5bb7bcbf
build	06-Jan-2019 23:43:00	Step 23/33 : ENV ROCKET_WORKERS=10
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> 84dee6abc00e
build	06-Jan-2019 23:43:00	Step 24/33 : RUN apt-get update && apt-get install -y    openssl    ca-certificates    --no-install-recommends && rm -rf /var/lib/apt/lists/*
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> fb1e44a3f486
build	06-Jan-2019 23:43:00	Step 25/33 : RUN mkdir /data
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> dd7c558a2632
build	06-Jan-2019 23:43:00	Step 26/33 : VOLUME /data
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> a678bae6ff1c
build	06-Jan-2019 23:43:00	Step 27/33 : EXPOSE 80
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> f17fb1861a87
build	06-Jan-2019 23:43:00	Step 28/33 : EXPOSE 3012
build	06-Jan-2019 23:43:00	 ---> Using cache
build	06-Jan-2019 23:43:00	 ---> d41992d677f8
build	06-Jan-2019 23:43:00	Step 29/33 : COPY .env .
error	06-Jan-2019 23:43:00	COPY failed: stat /var/lib/docker/tmp/docker-builder112680281/.env: no such file or directory

@dani-garcia
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, that's mostly meant for local installs, I don't know why we include it in the docker images. It's fixed in the latest commit

Please sign in to comment.