Update docker images
Some checks failed
continuous-integration/drone Build is failing

Signed-off-by: Lucas BEE <pouulet@gmail.com>
This commit is contained in:
Lucas BEE 2022-11-09 08:42:20 +00:00
parent 5333fd1d80
commit 092659d678
3 changed files with 6 additions and 6 deletions

View File

@ -3,12 +3,12 @@ name: default
steps: steps:
- name: prepare-workdir - name: prepare-workdir
image: alpine:3.14.1 image: alpine:3.16.2
commands: commands:
- mkdir canapeapp - mkdir canapeapp
- name: frontend - name: frontend
image: node:16.6.2 image: node:19.0.1
commands: commands:
- cd frontend - cd frontend
- npm install - npm install
@ -16,7 +16,7 @@ steps:
- npm run-script build - npm run-script build
- name: backend - name: backend
image: golang:1.17.0-alpine3.14 image: golang:1.19.3-alpine3.16
commands: commands:
- apk --no-cache add git - apk --no-cache add git
- go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest - go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
@ -24,7 +24,7 @@ steps:
- CGO_ENABLED=0 go build -ldflags '-extldflags "-static"' -trimpath -v -o canapeapp/app backend/*.go - CGO_ENABLED=0 go build -ldflags '-extldflags "-static"' -trimpath -v -o canapeapp/app backend/*.go
- name: prepare-docker - name: prepare-docker
image: alpine:3.14.1 image: alpine:3.16.2
commands: commands:
- cp docker/run.sh canapeapp/run.sh - cp docker/run.sh canapeapp/run.sh
- cp migrate canapeapp/migrate - cp migrate canapeapp/migrate

View File

@ -1,4 +1,4 @@
FROM alpine:3.13.1 FROM alpine:3.16.2
RUN apk --no-cache add ca-certificates RUN apk --no-cache add ca-certificates
COPY canapeapp /opt/canapeapp COPY canapeapp /opt/canapeapp

View File

@ -6,7 +6,7 @@ networks:
services: services:
database: database:
image: postgres:13.1 image: postgres:13.8
container_name: canapeapp_database container_name: canapeapp_database
restart: always restart: always
networks: networks: