Skip to content

Commit

Permalink
Merge pull request #1993 from ONSdigital/remove-docker-application-ve…
Browse files Browse the repository at this point in the history
…rsion

Remove the build arg for application version
  • Loading branch information
ajmaddaford authored Feb 13, 2019
2 parents 72c83e6 + eeb0548 commit 88f3ac2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM ubuntu:18.04 as builder

ARG APP_VERSION=unknown

RUN apt-get update \
&& apt-get install -y curl git locales make build-essential

Expand All @@ -20,7 +18,6 @@ WORKDIR /usr/src/app
COPY . /usr/src/app
RUN yarn compile
RUN ./scripts/translate_schemas.sh
RUN printf $APP_VERSION > .application-version

# We don't want node_modules to be copied to the runtime image
RUN rm -rf node_modules
Expand Down

0 comments on commit 88f3ac2

Please sign in to comment.