mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-09-06 11:46:24 -07:00
Update Docker stuff to use Go 1.20, Alpine 3.18
This commit is contained in:
parent
14c209e89b
commit
deeba7584d
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.18-alpine3.17
|
||||
FROM golang:1.20-alpine3.18
|
||||
|
||||
COPY docker/build-image.sh .
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.17
|
||||
FROM alpine:3.18
|
||||
RUN apk --no-cache add rsync lsyncd
|
||||
# Declared in docker-compose
|
||||
#CMD lsyncd -delay 1 -nodaemon -rsync /source /cache
|
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.17
|
||||
FROM alpine:3.18
|
||||
|
||||
WORKDIR /app
|
||||
RUN apk --update add mysql && rm -f /var/cache/apk/*
|
||||
|
|
|
@ -15,7 +15,7 @@ apk add \
|
|||
|
||||
mkdir -p /root/bin
|
||||
|
||||
ln -s /usr/lib/go-1.18/bin/* /root/bin/
|
||||
ln -s /usr/lib/go-1.20/bin/* /root/bin/
|
||||
export PATH=$PATH:/root/bin
|
||||
echo "export PATH=$PATH:/root/bin" >> /root/.bashrc
|
||||
rm -f /etc/nginx/sites-enabled/* /etc/nginx/sites-available/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue