1
0
Fork 0
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:
Eggbertx 2023-08-30 12:38:36 -07:00
parent 14c209e89b
commit deeba7584d
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
FROM golang:1.18-alpine3.17
FROM golang:1.20-alpine3.18
COPY docker/build-image.sh .

View file

@ -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

View file

@ -1,4 +1,4 @@
FROM alpine:3.17
FROM alpine:3.18
WORKDIR /app
RUN apk --update add mysql && rm -f /var/cache/apk/*

View file

@ -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/*