Skip to content

Commit

Permalink
removed bash, now using workdir
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmittag committed Dec 4, 2023
1 parent 0f08ff1 commit 3ef689e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ RUN apk update && apk upgrade && apk add --no-cache bash git
WORKDIR .
COPY . /proj/

RUN /bin/bash
RUN cd /proj && CGO_ENABLED=0 go build github.com/simonmittag/j8a/cmd/j8a
WORKDIR /proj
RUN CGO_ENABLED=0 go build github.com/simonmittag/j8a/cmd/j8a

#multistage build uses output from previous image
FROM alpine
Expand Down

0 comments on commit 3ef689e

Please sign in to comment.