mirror of
https://github.com/Neur0toxine/docker-golang-alpine.git
synced 2024-11-22 04:56:06 +03:00
add workdir
This commit is contained in:
parent
b55ff9c70a
commit
1bd381c955
4
.github/workflows/buildx.yml
vendored
4
.github/workflows/buildx.yml
vendored
@ -71,7 +71,7 @@ jobs:
|
|||||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
|
|
||||||
- name: Docker Buildx (build)
|
- name: Docker Buildx (build)
|
||||||
uses: docker/build-push-action@v3.0.0
|
uses: docker/build-push-action@v3.1.0
|
||||||
if: success() && !contains(github.ref, 'master')
|
if: success() && !contains(github.ref, 'master')
|
||||||
with:
|
with:
|
||||||
push: false
|
push: false
|
||||||
@ -89,7 +89,7 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Docker Buildx (push)
|
- name: Docker Buildx (push)
|
||||||
uses: docker/build-push-action@v3.0.0
|
uses: docker/build-push-action@v3.1.0
|
||||||
if: success() && contains(github.ref, 'master')
|
if: success() && contains(github.ref, 'master')
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM golang:1.16-alpine3.13
|
FROM golang:1.16-alpine3.13
|
||||||
|
WORKDIR /
|
||||||
RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init
|
RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init
|
||||||
RUN cd /tmp && \
|
RUN cd /tmp && \
|
||||||
git clone https://github.com/go-delve/delve && \
|
git clone https://github.com/go-delve/delve && \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM golang:1.16-alpine
|
FROM golang:1.16-alpine
|
||||||
|
WORKDIR /
|
||||||
RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init
|
RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init
|
||||||
RUN cd /tmp && \
|
RUN cd /tmp && \
|
||||||
git clone https://github.com/go-delve/delve && \
|
git clone https://github.com/go-delve/delve && \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM golang:1.17-alpine3.13
|
FROM golang:1.17-alpine3.13
|
||||||
|
WORKDIR /
|
||||||
RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init
|
RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init
|
||||||
RUN cd /tmp && \
|
RUN cd /tmp && \
|
||||||
git clone https://github.com/go-delve/delve && \
|
git clone https://github.com/go-delve/delve && \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM golang:1.17-alpine
|
FROM golang:1.17-alpine
|
||||||
|
WORKDIR /
|
||||||
RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init
|
RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init
|
||||||
RUN cd /tmp && \
|
RUN cd /tmp && \
|
||||||
git clone https://github.com/go-delve/delve && \
|
git clone https://github.com/go-delve/delve && \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM golang:1.18-alpine
|
FROM golang:1.18-alpine
|
||||||
|
WORKDIR /
|
||||||
RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init
|
RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init
|
||||||
RUN cd /tmp && \
|
RUN cd /tmp && \
|
||||||
git clone https://github.com/go-delve/delve && \
|
git clone https://github.com/go-delve/delve && \
|
||||||
|
Loading…
Reference in New Issue
Block a user