Skip to content

Commit

Permalink
feat: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
drew138 committed Mar 21, 2024
1 parent 740a2fb commit 4463f2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 38 deletions.
37 changes: 0 additions & 37 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,44 +1,7 @@
# FROM golang:alpine AS builder
#
# RUN apk add --no-cache ca-certificates git
#
# WORKDIR /src
#
# COPY ./go.mod ./go.sum ./
#
# RUN go mod download
#
# COPY ./ ./
#
# RUN CGO_ENABLED=0 go build \
# -installsuffix 'static' \
# -o /app .
#
# FROM scratch AS final
#
# COPY --from=builder /app /app
#
# COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
#
# EXPOSE 443
#
# EXPOSE 80
#
# VOLUME ["/cert-cache"]
#
# ENTRYPOINT ["/app"]

FROM golang:1.22

# RUN apt update && apt upgrade -y && \
# apt install -y git \
# make openssh-client
#
WORKDIR /app

# RUN curl -fLo install.sh https://raw.githubusercontent.com/cosmtrek/air/master/install.sh \
# && chmod +x install.sh && sh install.sh && cp ./bin/air /bin/air
#
COPY . .

RUN go mod download
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ options:
logging: CLOUD_LOGGING_ONLY

substitutions:
_DOCKER_IMAGE: '${_AR_HOSTNAME}/$PROJECT_ID/${_REPOSITORY}/${_IMAGE}'
_DOCKER_IMAGE: '${_AR_HOSTNAME}/${_PROJECT_ID}/${_REPOSITORY}/${_IMAGE}'

0 comments on commit 4463f2c

Please sign in to comment.