mirror of
https://github.com/jrasanen/writefreely-docker.git
synced 2025-02-05 08:52:46 +02:00
Bump golang image version and reflect that alpine npm package name has changed
Signed-off-by: Lazalatin <lazalatin@tutanota.com>
This commit is contained in:
parent
837429a06f
commit
eaa37463b7
1 changed files with 4 additions and 2 deletions
|
@ -14,13 +14,15 @@
|
||||||
## You should have received a copy of the GNU General Public License
|
## You should have received a copy of the GNU General Public License
|
||||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
ARG GOLANG_VERSION=1.17
|
||||||
|
|
||||||
# Build image
|
# Build image
|
||||||
FROM golang:1.13-alpine as build
|
FROM golang:${GOLANG_VERSION}-alpine as build
|
||||||
|
|
||||||
ARG WRITEFREELY_VERSION=v0.13.1
|
ARG WRITEFREELY_VERSION=v0.13.1
|
||||||
ARG WRITEFREELY_FORK=writeas/writefreely
|
ARG WRITEFREELY_FORK=writeas/writefreely
|
||||||
|
|
||||||
RUN apk add --update nodejs nodejs-npm make g++ git sqlite-dev
|
RUN apk add --update nodejs npm make g++ git sqlite-dev
|
||||||
RUN npm install -g less less-plugin-clean-css
|
RUN npm install -g less less-plugin-clean-css
|
||||||
RUN go get -u github.com/jteeuwen/go-bindata/...
|
RUN go get -u github.com/jteeuwen/go-bindata/...
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue